Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003143/0.003144, allocations: 194.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.134/3.134, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 67.89 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.871/0.8734, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2299/1.103, allocations: 174 MB / 1.187 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01385/1.117, allocations: 9.514 MB / 1.197 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005121/1.118, allocations: 7.938 kB / 1.197 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009587/1.119, allocations: 198.7 kB / 1.197 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005012/1.119, allocations: 87.38 kB / 1.197 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/1.12, allocations: 63.86 kB / 1.197 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006261/1.12, allocations: 314.8 kB / 1.197 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/1.121, allocations: 152.5 kB / 1.197 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005107/1.121, allocations: 163.4 kB / 1.197 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/1.121, allocations: 107.4 kB / 1.198 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/1.121, allocations: 16 kB / 1.198 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.21e-05/1.122, allocations: 16 kB / 1.198 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/1.122, allocations: 43.84 kB / 1.198 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/1.122, allocations: 99.48 kB / 1.198 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/1.122, allocations: 199.3 kB / 1.198 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.122, allocations: 0 / 1.198 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.683e-06/1.122, allocations: 0 / 1.198 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.907e-06/1.122, allocations: 4 kB / 1.198 GB, free: 8.855 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007391/1.123, allocations: 474.9 kB / 1.198 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.123, allocations: 8.031 kB / 1.198 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.823e-05/1.123, allocations: 27.66 kB / 1.198 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/1.123, allocations: 243.2 kB / 1.199 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/1.123, allocations: 24.38 kB / 1.199 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/1.123, allocations: 16 kB / 1.199 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/1.124, allocations: 235.8 kB / 1.199 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.124, allocations: 4 kB / 1.199 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/1.124, allocations: 15.94 kB / 1.199 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/1.124, allocations: 4 kB / 1.199 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/1.124, allocations: 83.84 kB / 1.199 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/1.126, allocations: 1.445 MB / 1.2 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/1.126, allocations: 169.1 kB / 1.201 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/1.126, allocations: 80.14 kB / 1.201 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/1.126, allocations: 79.22 kB / 1.201 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/1.126, allocations: 113.8 kB / 1.201 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/1.126, allocations: 0 / 1.201 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001128/1.126, allocations: 45.45 kB / 1.201 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/1.126, allocations: 130.7 kB / 1.201 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/1.126, allocations: 291 kB / 1.201 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/1.126, allocations: 25.7 kB / 1.201 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/1.127, allocations: 143.9 kB / 1.201 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/1.127, allocations: 0 / 1.201 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/1.127, allocations: 17.72 kB / 1.201 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.127, allocations: 338.8 kB / 1.202 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/1.127, allocations: 4 kB / 1.202 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/1.127, allocations: 35.38 kB / 1.202 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.275e-05/1.127, allocations: 39.38 kB / 1.202 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.127, allocations: 0 / 1.202 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002036/1.127, allocations: 73.34 kB / 1.202 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.127, allocations: 4 kB / 1.202 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.127, allocations: 0 / 1.202 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.127, allocations: 4 kB / 1.202 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/1.127, allocations: 7.984 kB / 1.202 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.127, allocations: 0 / 1.202 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/1.127, allocations: 27.81 kB / 1.202 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/1.127, allocations: 0 / 1.202 GB, free: 4.383 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001591/1.128, allocations: 205 kB / 1.202 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/1.128, allocations: 124.7 kB / 1.202 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/1.128, allocations: 125.9 kB / 1.202 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.908e-05/1.128, allocations: 180.2 kB / 1.203 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.999e-05/1.128, allocations: 184.4 kB / 1.203 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/1.128, allocations: 184.1 kB / 1.203 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/1.129, allocations: 477 kB / 1.203 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-05/1.129, allocations: 101 kB / 1.203 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/1.129, allocations: 104.9 kB / 1.204 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.391e-05/1.129, allocations: 184.2 kB / 1.204 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/1.129, allocations: 184.2 kB / 1.204 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.414e-05/1.129, allocations: 176.3 kB / 1.204 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.961e-05/1.129, allocations: 176.3 kB / 1.204 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/1.129, allocations: 331.5 kB / 1.205 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/1.129, allocations: 209.8 kB / 1.205 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/1.13, allocations: 180.2 kB / 1.205 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/1.13, allocations: 101 kB / 1.205 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.154e-05/1.13, allocations: 180.2 kB / 1.205 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/1.13, allocations: 109 kB / 1.205 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002479/1.13, allocations: 202 kB / 1.206 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/1.13, allocations: 4 kB / 1.206 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002636/1.13, allocations: 24 kB / 1.206 GB, free: 0.4922 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001852/1.131, allocations: 178.5 kB / 1.206 GB, free: 316 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001049/1.131, allocations: 16.28 kB / 1.206 GB, free: 300 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.131, allocations: 0 / 1.206 GB, free: 300 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/1.131, allocations: 0 / 1.206 GB, free: 300 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/1.132, allocations: 0.5412 MB / 1.206 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/1.132, allocations: 368.5 kB / 1.207 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/1.133, allocations: 0.7206 MB / 1.207 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001067/1.133, allocations: 21.94 kB / 1.207 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/1.133, allocations: 19.44 kB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/1.133, allocations: 4 kB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of Templates: time 0.007173/1.14, allocations: 2.394 MB / 1.21 GB, free: 12.21 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches