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.0009795/0.0009797, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001081/0.001081, allocations: 172.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.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.414 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.889/2.889, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 12 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8201/0.8205, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1954/1.016, allocations: 158.2 MB / 1.177 GB, free: 1.414 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008968/1.025, allocations: 8.767 MB / 1.185 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/1.025, allocations: 11.94 kB / 1.185 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006162/1.026, allocations: 131 kB / 1.186 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/1.026, allocations: 83.48 kB / 1.186 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/1.027, allocations: 47.95 kB / 1.186 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004399/1.027, allocations: 338.7 kB / 1.186 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/1.027, allocations: 141 kB / 1.186 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/1.028, allocations: 127.5 kB / 1.186 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/1.028, allocations: 87.45 kB / 1.186 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/1.028, allocations: 4 kB / 1.186 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.524e-05/1.028, allocations: 12 kB / 1.186 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/1.028, allocations: 47.83 kB / 1.186 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/1.028, allocations: 73.52 kB / 1.186 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/1.028, allocations: 215.4 kB / 1.187 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.028, allocations: 0 / 1.187 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.685e-06/1.028, allocations: 0 / 1.187 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.435e-06/1.028, allocations: 0 / 1.187 GB, free: 7.316 MB / 0.9356 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.0005816/1.029, allocations: 476.6 kB / 1.187 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.029, allocations: 8.562 kB / 1.187 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/1.029, allocations: 27.72 kB / 1.187 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/1.029, allocations: 272.1 kB / 1.187 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/1.029, allocations: 20.56 kB / 1.187 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/1.029, allocations: 28 kB / 1.187 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/1.03, allocations: 323.9 kB / 1.188 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.03, allocations: 7.938 kB / 1.188 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/1.03, allocations: 12 kB / 1.188 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/1.03, allocations: 8 kB / 1.188 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/1.03, allocations: 135.8 kB / 1.188 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/1.031, allocations: 1.82 MB / 1.19 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/1.032, allocations: 173.1 kB / 1.19 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/1.032, allocations: 80.14 kB / 1.19 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/1.032, allocations: 75.28 kB / 1.19 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/1.032, allocations: 105.8 kB / 1.19 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 3.326e-06/1.032, allocations: 112 / 1.19 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001032/1.032, allocations: 65.25 kB / 1.19 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/1.032, allocations: 130.7 kB / 1.19 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/1.032, allocations: 369.7 kB / 1.191 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/1.032, allocations: 25.7 kB / 1.191 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/1.032, allocations: 175.7 kB / 1.191 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/1.033, allocations: 0 / 1.191 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-06/1.033, allocations: 0 / 1.191 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002008/1.033, allocations: 338.8 kB / 1.191 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/1.033, allocations: 4 kB / 1.191 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.923e-05/1.033, allocations: 36.3 kB / 1.191 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/1.033, allocations: 19.86 kB / 1.191 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.033, allocations: 0 / 1.191 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002035/1.033, allocations: 85.34 kB / 1.191 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/1.033, allocations: 8 kB / 1.191 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.033, allocations: 0 / 1.191 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/1.033, allocations: 3.953 kB / 1.191 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/1.033, allocations: 11.94 kB / 1.191 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/1.033, allocations: 7.984 kB / 1.191 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/1.033, allocations: 27.59 kB / 1.191 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/1.033, allocations: 0 / 1.191 GB, free: 2.184 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002244/1.034, allocations: 217.3 kB / 1.192 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/1.034, allocations: 128.7 kB / 1.192 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/1.034, allocations: 130.9 kB / 1.192 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.482e-05/1.034, allocations: 184.2 kB / 1.192 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-05/1.034, allocations: 180.2 kB / 1.192 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.062e-05/1.034, allocations: 180.3 kB / 1.192 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/1.034, allocations: 493.2 kB / 1.193 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-05/1.035, allocations: 112.9 kB / 1.193 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/1.035, allocations: 101 kB / 1.193 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.622e-05/1.035, allocations: 184.2 kB / 1.193 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.952e-05/1.035, allocations: 180.3 kB / 1.193 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.922e-05/1.035, allocations: 184.2 kB / 1.194 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-05/1.035, allocations: 180.2 kB / 1.194 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/1.035, allocations: 335.4 kB / 1.194 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.035, allocations: 205.8 kB / 1.194 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.041e-05/1.035, allocations: 184.3 kB / 1.194 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/1.035, allocations: 112.9 kB / 1.195 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/1.035, allocations: 180.3 kB / 1.195 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/1.036, allocations: 116.8 kB / 1.195 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002524/1.036, allocations: 263.2 kB / 1.195 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.036, allocations: 4 kB / 1.195 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002916/1.036, allocations: 31.94 kB / 1.195 GB, free: 14.15 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.0001639/1.036, allocations: 182.5 kB / 1.195 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.286e-05/1.036, allocations: 11.94 kB / 1.195 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.036, allocations: 0 / 1.195 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/1.036, allocations: 0 / 1.195 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/1.037, allocations: 0.6237 MB / 1.196 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/1.038, allocations: 482.6 kB / 1.196 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/1.038, allocations: 0.756 MB / 1.197 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000113/1.039, allocations: 38.91 kB / 1.197 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/1.039, allocations: 19.44 kB / 1.197 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of SimCode: time 1.222e-06/1.039, allocations: 0 / 1.197 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of Templates: time 0.00767/1.046, allocations: 2.91 MB / 1.2 GB, free: 9.133 MB / 0.9512 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/jenkins/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