Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00804/0.00804, allocations: 101 kB / 15.73 MB, free: 6.453 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.001728/0.001728, allocations: 197 kB / 16.68 MB, free: 6.355 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.05 kB / 0.9509 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3179, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2179/0.5358, allocations: 174 MB / 1.258 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.8624/1.398, allocations: 9.506 MB / 1.267 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/1.399, allocations: 10.25 kB / 1.267 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008048/1.4, allocations: 191.9 kB / 1.267 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003432/1.4, allocations: 93.91 kB / 1.267 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/1.4, allocations: 70.53 kB / 1.268 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/1.401, allocations: 321.9 kB / 1.268 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005779/1.401, allocations: 208.7 kB / 1.268 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004767/1.402, allocations: 170.8 kB / 1.268 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/1.402, allocations: 121.3 kB / 1.268 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.548e-05/1.402, allocations: 22.91 kB / 1.268 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.793e-05/1.402, allocations: 20.75 kB / 1.268 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/1.402, allocations: 78.11 kB / 1.268 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002131/1.403, allocations: 125.4 kB / 1.269 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006202/1.403, allocations: 298 kB / 1.269 GB, free: 3.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.403, allocations: 0.9375 kB / 1.269 GB, free: 3.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.719e-06/1.403, allocations: 0.5625 kB / 1.269 GB, free: 3.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.107e-05/1.403, allocations: 3.188 kB / 1.269 GB, free: 3.5 MB / 1.014 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.0007173/1.404, allocations: 0.5137 MB / 1.269 GB, free: 3.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.404, allocations: 13.69 kB / 1.269 GB, free: 3.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/1.404, allocations: 32.44 kB / 1.269 GB, free: 3.074 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/1.405, allocations: 271.6 kB / 1.27 GB, free: 2.863 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/1.405, allocations: 22.22 kB / 1.27 GB, free: 2.863 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/1.405, allocations: 24.34 kB / 1.27 GB, free: 2.863 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/1.405, allocations: 326.5 kB / 1.27 GB, free: 2.723 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/1.405, allocations: 2.141 kB / 1.27 GB, free: 2.723 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/1.405, allocations: 15.48 kB / 1.27 GB, free: 2.719 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/1.405, allocations: 7.25 kB / 1.27 GB, free: 2.719 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/1.406, allocations: 141.7 kB / 1.27 GB, free: 2.719 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/1.407, allocations: 1.823 MB / 1.272 GB, free: 17.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.371e-05/1.407, allocations: 167.2 kB / 1.272 GB, free: 17.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/1.408, allocations: 81.59 kB / 1.272 GB, free: 16.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/1.408, allocations: 78.53 kB / 1.272 GB, free: 16.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/1.408, allocations: 115.6 kB / 1.272 GB, free: 16.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 2.565e-06/1.408, allocations: 0.8125 kB / 1.272 GB, free: 16.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.583e-05/1.408, allocations: 50.52 kB / 1.272 GB, free: 16.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/1.408, allocations: 128.5 kB / 1.273 GB, free: 16.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/1.408, allocations: 377.6 kB / 1.273 GB, free: 16.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/1.408, allocations: 26.31 kB / 1.273 GB, free: 16.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.408, allocations: 166.2 kB / 1.273 GB, free: 16.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/1.408, allocations: 1.547 kB / 1.273 GB, free: 16.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/1.408, allocations: 19.45 kB / 1.273 GB, free: 16.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.409, allocations: 337.4 kB / 1.273 GB, free: 16.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/1.409, allocations: 5.906 kB / 1.273 GB, free: 16.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/1.409, allocations: 39.83 kB / 1.273 GB, free: 16.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.228e-05/1.409, allocations: 46.67 kB / 1.274 GB, free: 15.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.409, allocations: 1.844 kB / 1.274 GB, free: 15.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002188/1.409, allocations: 87.16 kB / 1.274 GB, free: 15.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/1.409, allocations: 6.016 kB / 1.274 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.409, allocations: 2.25 kB / 1.274 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/1.409, allocations: 2.406 kB / 1.274 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/1.409, allocations: 14.69 kB / 1.274 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/1.409, allocations: 3.172 kB / 1.274 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/1.409, allocations: 26.88 kB / 1.274 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/1.409, allocations: 4.906 kB / 1.274 GB, free: 15.91 MB / 1.029 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.0001876/1.41, allocations: 211 kB / 1.274 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.41, allocations: 137.4 kB / 1.274 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.563e-05/1.41, allocations: 126.2 kB / 1.274 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.361e-05/1.41, allocations: 185.9 kB / 1.274 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.667e-05/1.41, allocations: 179 kB / 1.274 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.152e-05/1.41, allocations: 187.2 kB / 1.275 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/1.41, allocations: 487.8 kB / 1.275 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.479e-05/1.411, allocations: 110.3 kB / 1.275 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/1.411, allocations: 102.9 kB / 1.275 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.858e-05/1.411, allocations: 182.1 kB / 1.275 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.41e-05/1.411, allocations: 179.5 kB / 1.276 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-05/1.411, allocations: 186 kB / 1.276 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.312e-05/1.411, allocations: 185.6 kB / 1.276 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/1.411, allocations: 333.9 kB / 1.276 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/1.411, allocations: 210.3 kB / 1.277 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/1.411, allocations: 181.1 kB / 1.277 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/1.412, allocations: 106.2 kB / 1.277 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.412, allocations: 183.8 kB / 1.277 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/1.412, allocations: 106.7 kB / 1.277 GB, free: 12.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004473/1.412, allocations: 270.6 kB / 1.277 GB, free: 12.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.054e-06/1.412, allocations: 0.9688 kB / 1.277 GB, free: 12.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003214/1.413, allocations: 37.19 kB / 1.277 GB, free: 12.36 MB / 1.029 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.000234/1.413, allocations: 174.6 kB / 1.278 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001306/1.413, allocations: 18.22 kB / 1.278 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.413, allocations: 0.6875 kB / 1.278 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/1.413, allocations: 1 kB / 1.278 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/1.414, allocations: 0.5547 MB / 1.278 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/1.415, allocations: 439.6 kB / 1.279 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/1.416, allocations: 0.7525 MB / 1.279 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001596/1.416, allocations: 32.72 kB / 1.279 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/1.416, allocations: 19.72 kB / 1.279 GB, free: 10.77 MB / 1.029 GB Notification: Performance of SimCode: time 1.783e-06/1.416, allocations: 0 / 1.279 GB, free: 10.77 MB / 1.029 GB Notification: Performance of Templates: time 0.01526/1.431, allocations: 3.185 MB / 1.282 GB, free: 10.66 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches