Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 94.66 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 168.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.813/2.813, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 12.62 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3873, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1771/0.5645, allocations: 134.2 MB / 1.189 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004585/0.5691, allocations: 4.314 MB / 1.193 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.5694, allocations: 15.88 kB / 1.193 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.5699, allocations: 111.2 kB / 1.193 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.5702, allocations: 75.56 kB / 1.193 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.5704, allocations: 51.89 kB / 1.193 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.5707, allocations: 302.9 kB / 1.194 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.571, allocations: 74.08 kB / 1.194 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.5711, allocations: 75.66 kB / 1.194 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.5713, allocations: 123.5 kB / 1.194 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.5714, allocations: 4 kB / 1.194 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.5714, allocations: 4 kB / 1.194 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.5714, allocations: 15.92 kB / 1.194 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.5715, allocations: 53.58 kB / 1.194 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.5716, allocations: 111.9 kB / 1.194 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.5716, allocations: 0 / 1.194 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.116e-06/0.5716, allocations: 4 kB / 1.194 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.5716, allocations: 0 / 1.194 GB, free: 9.473 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004265/0.5721, allocations: 414.8 kB / 1.195 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5721, allocations: 12.03 kB / 1.195 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.5722, allocations: 15.81 kB / 1.195 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.5724, allocations: 236 kB / 1.195 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.5725, allocations: 8 kB / 1.195 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.5725, allocations: 20 kB / 1.195 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.5728, allocations: 208.4 kB / 1.195 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5728, allocations: 4 kB / 1.195 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.5728, allocations: 8 kB / 1.195 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.5728, allocations: 8 kB / 1.195 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.5729, allocations: 71.78 kB / 1.195 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.574, allocations: 1.582 MB / 1.197 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.132e-05/0.5741, allocations: 173.1 kB / 1.197 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.5741, allocations: 80.14 kB / 1.197 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.5742, allocations: 83.28 kB / 1.197 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.5742, allocations: 105.8 kB / 1.197 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.5742, allocations: 0 / 1.197 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.577e-05/0.5743, allocations: 41.52 kB / 1.197 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.5744, allocations: 130.6 kB / 1.197 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.5746, allocations: 254.5 kB / 1.198 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.5746, allocations: 25.7 kB / 1.198 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.5747, allocations: 147.7 kB / 1.198 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-06/0.5748, allocations: 3.984 kB / 1.198 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.5748, allocations: 0 / 1.198 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5749, allocations: 330.8 kB / 1.198 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.5749, allocations: 4 kB / 1.198 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.575, allocations: 62 kB / 1.198 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.575, allocations: 16 kB / 1.198 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.575, allocations: 3.953 kB / 1.198 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001582/0.5752, allocations: 93.5 kB / 1.198 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.5752, allocations: 4 kB / 1.198 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5752, allocations: 4 kB / 1.198 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5752, allocations: 0 / 1.198 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.5753, allocations: 15.98 kB / 1.198 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5753, allocations: 0 / 1.198 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.5754, allocations: 19.75 kB / 1.198 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.5754, allocations: 4 kB / 1.198 GB, free: 5.008 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.5755, allocations: 197.1 kB / 1.198 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.5756, allocations: 132.8 kB / 1.199 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.5756, allocations: 125.8 kB / 1.199 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.457e-05/0.5757, allocations: 176.3 kB / 1.199 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.144e-05/0.5758, allocations: 180.3 kB / 1.199 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.771e-05/0.5759, allocations: 184.2 kB / 1.199 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.5762, allocations: 457.2 kB / 1.2 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-05/0.5762, allocations: 108.9 kB / 1.2 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.5763, allocations: 108.9 kB / 1.2 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.84e-05/0.5764, allocations: 176.3 kB / 1.2 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.5764, allocations: 180.2 kB / 1.2 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.177e-05/0.5765, allocations: 176.3 kB / 1.2 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-05/0.5766, allocations: 192.4 kB / 1.201 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.5768, allocations: 315.7 kB / 1.201 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.5769, allocations: 201.8 kB / 1.201 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.577, allocations: 188.2 kB / 1.201 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.5771, allocations: 108.9 kB / 1.201 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.5772, allocations: 176.3 kB / 1.201 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.5773, allocations: 105 kB / 1.202 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001595/0.5774, allocations: 185.9 kB / 1.202 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5774, allocations: 3.938 kB / 1.202 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000281/0.5777, allocations: 23.91 kB / 1.202 GB, free: 1.168 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001867/0.5779, allocations: 174.5 kB / 1.202 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.888e-05/0.578, allocations: 23.94 kB / 1.202 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.578, allocations: 0 / 1.202 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.578, allocations: 0 / 1.202 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.5788, allocations: 0.5741 MB / 1.203 GB, free: 392 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.5794, allocations: 361.5 kB / 1.203 GB, free: 8 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.5799, allocations: 0.7127 MB / 1.204 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.58, allocations: 21.53 kB / 1.204 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.5801, allocations: 15.44 kB / 1.204 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.5801, allocations: 4 kB / 1.204 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.005051/0.5851, allocations: 1.466 MB / 1.205 GB, free: 13.79 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches