Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001446/0.001446, allocations: 193 kB / 16.91 MB, free: 6.195 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.407/1.407, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437 MB / 0.7107 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.59 kB / 0.8694 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3733, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.8416/1.215, allocations: 146 MB / 1.16 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00546/1.22, allocations: 4.615 MB / 1.164 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004244/1.221, allocations: 10.16 kB / 1.165 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005785/1.222, allocations: 136.2 kB / 1.165 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003857/1.222, allocations: 76.59 kB / 1.165 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/1.222, allocations: 51.73 kB / 1.165 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003982/1.223, allocations: 306.9 kB / 1.165 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/1.223, allocations: 149.8 kB / 1.165 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/1.223, allocations: 110.1 kB / 1.165 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/1.223, allocations: 160.3 kB / 1.165 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/1.223, allocations: 20.66 kB / 1.165 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/1.223, allocations: 15.5 kB / 1.165 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.264e-05/1.223, allocations: 67.09 kB / 1.166 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/1.224, allocations: 105.9 kB / 1.166 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/1.224, allocations: 174.5 kB / 1.166 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.224, allocations: 1.125 kB / 1.166 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.322e-06/1.224, allocations: 0 / 1.166 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.224, allocations: 0 / 1.166 GB, free: 3.949 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005594/1.224, allocations: 489 kB / 1.166 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.225, allocations: 14.02 kB / 1.166 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/1.225, allocations: 29.88 kB / 1.166 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/1.225, allocations: 267.8 kB / 1.167 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/1.225, allocations: 13.28 kB / 1.167 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/1.225, allocations: 22.09 kB / 1.167 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/1.225, allocations: 303.4 kB / 1.167 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.225, allocations: 5.156 kB / 1.167 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/1.225, allocations: 11.88 kB / 1.167 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/1.225, allocations: 5.781 kB / 1.167 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/1.226, allocations: 123.5 kB / 1.167 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/1.227, allocations: 1.975 MB / 1.169 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/1.227, allocations: 170.1 kB / 1.169 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/1.227, allocations: 85.14 kB / 1.169 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/1.227, allocations: 83.16 kB / 1.169 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/1.227, allocations: 107.1 kB / 1.169 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/1.227, allocations: 0 / 1.169 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.447e-05/1.227, allocations: 53.42 kB / 1.169 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/1.227, allocations: 126.7 kB / 1.17 GB, free: 456 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/1.228, allocations: 335.5 kB / 1.17 GB, free: 276 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.228, allocations: 25.7 kB / 1.17 GB, free: 244 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.228, allocations: 160.7 kB / 1.17 GB, free: 100 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-06/1.228, allocations: 2.719 kB / 1.17 GB, free: 100 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/1.228, allocations: 20.62 kB / 1.17 GB, free: 80 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.228, allocations: 339.5 kB / 1.17 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/1.228, allocations: 6.844 kB / 1.17 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/1.228, allocations: 59.72 kB / 1.17 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.016e-05/1.228, allocations: 69.44 kB / 1.171 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/1.228, allocations: 1.094 kB / 1.171 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001875/1.229, allocations: 104 kB / 1.171 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.229, allocations: 6.625 kB / 1.171 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.229, allocations: 5.906 kB / 1.171 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.229, allocations: 6.156 kB / 1.171 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/1.229, allocations: 18.67 kB / 1.171 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/1.229, allocations: 3.406 kB / 1.171 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.709e-05/1.229, allocations: 30.69 kB / 1.171 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/1.229, allocations: 4.406 kB / 1.171 GB, free: 15.5 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001446/1.229, allocations: 208 kB / 1.171 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/1.229, allocations: 134.2 kB / 1.171 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.661e-05/1.229, allocations: 127.8 kB / 1.171 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.766e-05/1.229, allocations: 181.2 kB / 1.171 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.32e-05/1.229, allocations: 185.9 kB / 1.172 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.54e-05/1.229, allocations: 185.2 kB / 1.172 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/1.23, allocations: 477.5 kB / 1.172 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-05/1.23, allocations: 108.9 kB / 1.172 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/1.23, allocations: 106 kB / 1.172 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.482e-05/1.23, allocations: 176.3 kB / 1.173 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/1.23, allocations: 177.5 kB / 1.173 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.062e-05/1.23, allocations: 188.2 kB / 1.173 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.232e-05/1.23, allocations: 177.4 kB / 1.173 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/1.23, allocations: 326.8 kB / 1.173 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.23, allocations: 204.3 kB / 1.174 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.231, allocations: 182.4 kB / 1.174 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/1.231, allocations: 107.5 kB / 1.174 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/1.231, allocations: 185.5 kB / 1.174 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/1.231, allocations: 106.1 kB / 1.174 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002487/1.231, allocations: 241.8 kB / 1.174 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.231, allocations: 0 / 1.174 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002834/1.231, allocations: 32.16 kB / 1.174 GB, free: 11.82 MB / 0.8887 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.0001562/1.231, allocations: 171.8 kB / 1.175 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 9.226e-05/1.232, allocations: 32.3 kB / 1.175 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.232, allocations: 1.125 kB / 1.175 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/1.232, allocations: 3.938 kB / 1.175 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/1.232, allocations: 0.5141 MB / 1.175 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006121/1.233, allocations: 477.4 kB / 1.176 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/1.233, allocations: 0.7404 MB / 1.176 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/1.233, allocations: 18.25 kB / 1.176 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of SimCode: time 2.41e-07/1.233, allocations: 0 / 1.176 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of Templates: time 0.004895/1.238, allocations: 2.619 MB / 1.179 GB, free: 9.426 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches