Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001157/0.001157, allocations: 98.88 kB / 16.02 MB, free: 76 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.001868/0.001868, allocations: 184.2 kB / 16.92 MB, free: 6.684 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.453/1.453, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 437.8 MB / 0.7128 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004101, allocations: 8 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.6829, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.177/0.8599, allocations: 169.6 MB / 1.189 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.8703, allocations: 9.384 MB / 1.198 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003241/0.8707, allocations: 7.938 kB / 1.199 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.8713, allocations: 155 kB / 1.199 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.8717, allocations: 79.5 kB / 1.199 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.8719, allocations: 51.95 kB / 1.199 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.8724, allocations: 390.5 kB / 1.199 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.8728, allocations: 210.3 kB / 1.199 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.8732, allocations: 119.5 kB / 1.199 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.8734, allocations: 91.44 kB / 1.2 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.8734, allocations: 4 kB / 1.2 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.123e-05/0.8735, allocations: 4 kB / 1.2 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.8736, allocations: 59.69 kB / 1.2 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.8737, allocations: 125.1 kB / 1.2 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.874, allocations: 207.4 kB / 1.2 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.874, allocations: 3.938 kB / 1.2 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.384e-06/0.874, allocations: 4 kB / 1.2 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.874, allocations: 0 / 1.2 GB, free: 10.73 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005421/0.8745, allocations: 471 kB / 1.2 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.8746, allocations: 12.02 kB / 1.2 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.8747, allocations: 31.66 kB / 1.2 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.875, allocations: 270.3 kB / 1.201 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.8751, allocations: 20.56 kB / 1.201 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.8751, allocations: 24 kB / 1.201 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.8756, allocations: 324 kB / 1.201 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.8756, allocations: 3.938 kB / 1.201 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.8757, allocations: 16 kB / 1.201 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.8757, allocations: 8 kB / 1.201 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.8759, allocations: 143.7 kB / 1.201 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.8774, allocations: 1.816 MB / 1.203 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.938e-05/0.8775, allocations: 169.1 kB / 1.203 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.8775, allocations: 80.14 kB / 1.203 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.8776, allocations: 91.14 kB / 1.203 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.8776, allocations: 105.8 kB / 1.203 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.8776, allocations: 0 / 1.203 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001131/0.8778, allocations: 61.33 kB / 1.203 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.8778, allocations: 126.7 kB / 1.204 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.8783, allocations: 369.7 kB / 1.204 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.8783, allocations: 29.7 kB / 1.204 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.8784, allocations: 171.8 kB / 1.204 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-06/0.8784, allocations: 112 / 1.204 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.8785, allocations: 17.66 kB / 1.204 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8786, allocations: 334.8 kB / 1.204 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.8786, allocations: 4 kB / 1.204 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.8787, allocations: 40.22 kB / 1.205 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.365e-05/0.8787, allocations: 48.23 kB / 1.205 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8788, allocations: 0 / 1.205 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001695/0.8789, allocations: 89.34 kB / 1.205 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.879, allocations: 8 kB / 1.205 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.879, allocations: 3.938 kB / 1.205 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.879, allocations: 4 kB / 1.205 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.8791, allocations: 11.92 kB / 1.205 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.8791, allocations: 4 kB / 1.205 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.451e-05/0.8792, allocations: 27.59 kB / 1.205 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.8792, allocations: 0 / 1.205 GB, free: 5.516 MB / 0.9512 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.0001664/0.8794, allocations: 217.7 kB / 1.205 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.8795, allocations: 132.6 kB / 1.205 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.8795, allocations: 127 kB / 1.205 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-05/0.8796, allocations: 180.3 kB / 1.205 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.855e-05/0.8797, allocations: 180.2 kB / 1.205 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.934e-05/0.8797, allocations: 180.2 kB / 1.206 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.8801, allocations: 497 kB / 1.206 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/0.8801, allocations: 104.9 kB / 1.206 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.8802, allocations: 101 kB / 1.206 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.289e-05/0.8803, allocations: 184.2 kB / 1.207 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/0.8803, allocations: 184.4 kB / 1.207 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.737e-05/0.8804, allocations: 184.2 kB / 1.207 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.874e-05/0.8805, allocations: 184.3 kB / 1.207 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.8807, allocations: 331.4 kB / 1.207 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.8808, allocations: 209.7 kB / 1.208 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/0.8809, allocations: 188.2 kB / 1.208 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.881, allocations: 105 kB / 1.208 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.8811, allocations: 180.2 kB / 1.208 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.8811, allocations: 101 kB / 1.208 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002935/0.8814, allocations: 271.2 kB / 1.208 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8814, allocations: 0 / 1.208 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002593/0.8817, allocations: 31.94 kB / 1.208 GB, free: 1.5 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.0001493/0.8819, allocations: 178.5 kB / 1.209 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.529e-05/0.8819, allocations: 23.92 kB / 1.209 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.882, allocations: 0 / 1.209 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.882, allocations: 0 / 1.209 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009051/0.8829, allocations: 0.6177 MB / 1.209 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007076/0.8836, allocations: 0.5219 MB / 1.21 GB, free: 108 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.8839, allocations: 0.7559 MB / 1.21 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.884, allocations: 19.44 kB / 1.21 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.884, allocations: 0 / 1.21 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of Templates: time 0.006022/0.89, allocations: 3.084 MB / 1.213 GB, free: 12.25 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches