Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001539, allocations: 105.9 kB / 15.98 MB, free: 6.348 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.001628/0.001628, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.474/1.474, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 482.4 MB / 0.755 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.003081/0.003081, allocations: 64.06 kB / 0.924 GB, free: 348 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8211, allocations: 162.2 MB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2181/1.039, allocations: 171.7 MB / 1.25 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0104/1.05, allocations: 9.426 MB / 1.259 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/1.05, allocations: 11.94 kB / 1.259 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000614/1.051, allocations: 163.1 kB / 1.259 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002429/1.051, allocations: 79.44 kB / 1.26 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/1.051, allocations: 55.95 kB / 1.26 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000413/1.052, allocations: 322.7 kB / 1.26 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/1.052, allocations: 208.8 kB / 1.26 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/1.052, allocations: 175.3 kB / 1.26 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/1.052, allocations: 123.5 kB / 1.26 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/1.053, allocations: 20 kB / 1.26 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.568e-05/1.053, allocations: 20 kB / 1.26 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/1.053, allocations: 79.75 kB / 1.261 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/1.053, allocations: 123.4 kB / 1.261 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/1.053, allocations: 211.5 kB / 1.261 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.053, allocations: 0 / 1.261 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.765e-06/1.053, allocations: 0 / 1.261 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.053, allocations: 4 kB / 1.261 GB, free: 7.848 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005891/1.054, allocations: 0.5185 MB / 1.261 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.054, allocations: 8.031 kB / 1.261 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/1.054, allocations: 35.56 kB / 1.261 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/1.054, allocations: 262.5 kB / 1.262 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/1.054, allocations: 20.56 kB / 1.262 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/1.054, allocations: 24 kB / 1.262 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/1.055, allocations: 323.9 kB / 1.262 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.055, allocations: 0 / 1.262 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/1.055, allocations: 12 kB / 1.262 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/1.055, allocations: 12 kB / 1.262 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/1.055, allocations: 151.6 kB / 1.262 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/1.057, allocations: 1.816 MB / 1.264 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/1.057, allocations: 169.1 kB / 1.264 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/1.057, allocations: 84.14 kB / 1.264 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/1.057, allocations: 83.22 kB / 1.264 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/1.057, allocations: 109.8 kB / 1.264 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.057, allocations: 0 / 1.264 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001074/1.057, allocations: 61.36 kB / 1.264 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/1.057, allocations: 126.7 kB / 1.265 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/1.057, allocations: 377.7 kB / 1.265 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/1.057, allocations: 29.64 kB / 1.265 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/1.058, allocations: 167.8 kB / 1.265 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/1.058, allocations: 0 / 1.265 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/1.058, allocations: 25.7 kB / 1.265 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.058, allocations: 334.8 kB / 1.265 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/1.058, allocations: 4 kB / 1.265 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/1.058, allocations: 32.3 kB / 1.265 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/1.058, allocations: 48.22 kB / 1.266 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.058, allocations: 4 kB / 1.266 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001551/1.058, allocations: 89.28 kB / 1.266 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.058, allocations: 12 kB / 1.266 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.058, allocations: 0 / 1.266 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.058, allocations: 0 / 1.266 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/1.058, allocations: 8 kB / 1.266 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.058, allocations: 4 kB / 1.266 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/1.058, allocations: 27.69 kB / 1.266 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/1.058, allocations: 0 / 1.266 GB, free: 2.586 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001651/1.059, allocations: 217.8 kB / 1.266 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/1.059, allocations: 136.5 kB / 1.266 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.422e-05/1.059, allocations: 130.9 kB / 1.266 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-05/1.059, allocations: 184.3 kB / 1.266 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.131e-05/1.059, allocations: 180.4 kB / 1.266 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.638e-05/1.059, allocations: 180.2 kB / 1.267 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/1.059, allocations: 493.1 kB / 1.267 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-05/1.059, allocations: 108.9 kB / 1.267 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/1.059, allocations: 105 kB / 1.267 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/1.06, allocations: 176.3 kB / 1.267 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/1.06, allocations: 188.2 kB / 1.268 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.727e-05/1.06, allocations: 180.3 kB / 1.268 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.679e-05/1.06, allocations: 184.2 kB / 1.268 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/1.06, allocations: 327.5 kB / 1.268 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/1.06, allocations: 221.5 kB / 1.269 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.06, allocations: 176.3 kB / 1.269 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/1.06, allocations: 108.9 kB / 1.269 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/1.06, allocations: 180.3 kB / 1.269 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/1.061, allocations: 105 kB / 1.269 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003057/1.061, allocations: 275.1 kB / 1.269 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.797e-06/1.061, allocations: 0 / 1.269 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002518/1.061, allocations: 35.88 kB / 1.269 GB, free: 14.55 MB / 0.9981 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.0001492/1.061, allocations: 170.5 kB / 1.27 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.726e-05/1.061, allocations: 16 kB / 1.27 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.061, allocations: 4 kB / 1.27 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/1.061, allocations: 3.938 kB / 1.27 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/1.062, allocations: 0.5558 MB / 1.27 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007043/1.063, allocations: 0.5136 MB / 1.271 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/1.063, allocations: 0.7519 MB / 1.271 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/1.063, allocations: 19.44 kB / 1.271 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.063, allocations: 0 / 1.271 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.00563/1.069, allocations: 3.117 MB / 1.274 GB, free: 9.359 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches