Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.0008185/0.0008184, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005962/0.005962, allocations: 174.9 kB / 16.27 MB, free: 6.613 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.5/1.5, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.898/2.898, allocations: 462.6 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004802, allocations: 11.97 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3443, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.167/0.5114, allocations: 143.9 MB / 1.199 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00518/0.5166, allocations: 4.553 MB / 1.204 GB, free: 496 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.517, allocations: 19.88 kB / 1.204 GB, free: 476 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.5175, allocations: 123.2 kB / 1.204 GB, free: 352 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.5179, allocations: 83.5 kB / 1.204 GB, free: 268 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.5181, allocations: 59.88 kB / 1.204 GB, free: 208 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.5185, allocations: 362.8 kB / 1.204 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.5188, allocations: 132.1 kB / 1.204 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.519, allocations: 91.58 kB / 1.204 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.5192, allocations: 127.5 kB / 1.205 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.5193, allocations: 11.94 kB / 1.205 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.311e-05/0.5193, allocations: 8 kB / 1.205 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.5194, allocations: 47.83 kB / 1.205 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.5195, allocations: 113.1 kB / 1.205 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.5197, allocations: 215.4 kB / 1.205 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5198, allocations: 0 / 1.205 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5198, allocations: 0 / 1.205 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5198, allocations: 0 / 1.205 GB, free: 15.11 MB / 0.9669 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.0005421/0.5203, allocations: 455.2 kB / 1.205 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.5204, allocations: 8.031 kB / 1.205 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.5204, allocations: 24.66 kB / 1.205 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.5208, allocations: 262.7 kB / 1.206 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.5208, allocations: 16.81 kB / 1.206 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.5208, allocations: 20.38 kB / 1.206 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.5213, allocations: 309 kB / 1.206 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5213, allocations: 0 / 1.206 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.5214, allocations: 12 kB / 1.206 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.5214, allocations: 8 kB / 1.206 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.5216, allocations: 119.7 kB / 1.206 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.5231, allocations: 1.969 MB / 1.208 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.5232, allocations: 169.1 kB / 1.208 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.5232, allocations: 80.14 kB / 1.208 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.5233, allocations: 83.27 kB / 1.208 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.5233, allocations: 109.8 kB / 1.208 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.5233, allocations: 0 / 1.208 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.000113/0.5235, allocations: 61.34 kB / 1.209 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.5235, allocations: 126.7 kB / 1.209 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.5239, allocations: 328.5 kB / 1.209 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.524, allocations: 29.7 kB / 1.209 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5241, allocations: 163.6 kB / 1.209 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-06/0.5241, allocations: 0 / 1.209 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.5241, allocations: 25.59 kB / 1.209 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5243, allocations: 330.8 kB / 1.21 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.5243, allocations: 8 kB / 1.21 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/0.5243, allocations: 66.8 kB / 1.21 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.383e-05/0.5244, allocations: 70.84 kB / 1.21 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5244, allocations: 0 / 1.21 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001852/0.5246, allocations: 105.2 kB / 1.21 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5247, allocations: 4 kB / 1.21 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5247, allocations: 8 kB / 1.21 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5247, allocations: 4.188 kB / 1.21 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.952e-05/0.5248, allocations: 19.94 kB / 1.21 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5248, allocations: 4 kB / 1.21 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.5249, allocations: 27.59 kB / 1.21 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.5249, allocations: 8 kB / 1.21 GB, free: 9.758 MB / 0.9669 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.0001285/0.525, allocations: 206.6 kB / 1.21 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.5251, allocations: 132.7 kB / 1.21 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.5252, allocations: 126 kB / 1.21 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.261e-05/0.5252, allocations: 180.3 kB / 1.21 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-05/0.5253, allocations: 184.2 kB / 1.211 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.058e-05/0.5254, allocations: 176.3 kB / 1.211 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.5257, allocations: 477.1 kB / 1.211 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.753e-05/0.5257, allocations: 109 kB / 1.211 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.5258, allocations: 105 kB / 1.211 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.662e-05/0.5258, allocations: 180.2 kB / 1.212 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/0.5259, allocations: 184.2 kB / 1.212 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.216e-05/0.526, allocations: 184.4 kB / 1.212 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-05/0.526, allocations: 176.3 kB / 1.212 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.5262, allocations: 335.5 kB / 1.212 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.5263, allocations: 205.8 kB / 1.213 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-05/0.5264, allocations: 192.1 kB / 1.213 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.5265, allocations: 101 kB / 1.213 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.5266, allocations: 180.2 kB / 1.213 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.5266, allocations: 105 kB / 1.213 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000235/0.5269, allocations: 243 kB / 1.213 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5269, allocations: 0 / 1.213 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002565/0.5272, allocations: 24 kB / 1.213 GB, free: 5.809 MB / 0.9669 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.0001462/0.5273, allocations: 174.5 kB / 1.214 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.669e-05/0.5274, allocations: 24.23 kB / 1.214 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5274, allocations: 4.188 kB / 1.214 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.449e-06/0.5274, allocations: 3.938 kB / 1.214 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008581/0.5283, allocations: 0.5905 MB / 1.214 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005946/0.5289, allocations: 444.8 kB / 1.215 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.5292, allocations: 0.7443 MB / 1.215 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.36e-05/0.5293, allocations: 34.27 kB / 1.215 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.5294, allocations: 15.44 kB / 1.215 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.5294, allocations: 4 kB / 1.215 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of Templates: time 0.005146/0.5345, allocations: 2.23 MB / 1.218 GB, free: 1.523 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches