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.005778/0.005778, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001327/0.001327, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.8 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.89 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3483, allocations: 157.4 MB / 1.208 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 1.129/1.477, allocations: 148 MB / 1.352 GB, free: 15.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005736/1.483, allocations: 4.645 MB / 1.357 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/1.484, allocations: 6.656 kB / 1.357 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006929/1.484, allocations: 166.8 kB / 1.357 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000486/1.485, allocations: 88.06 kB / 1.357 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/1.485, allocations: 66.19 kB / 1.357 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004645/1.486, allocations: 310.7 kB / 1.357 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/1.486, allocations: 138.8 kB / 1.358 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/1.486, allocations: 115.9 kB / 1.358 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/1.486, allocations: 154.4 kB / 1.358 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/1.486, allocations: 15.78 kB / 1.358 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.374e-05/1.486, allocations: 15.75 kB / 1.358 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/1.487, allocations: 65.56 kB / 1.358 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/1.487, allocations: 107.9 kB / 1.358 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003706/1.487, allocations: 241.8 kB / 1.358 GB, free: 11.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.487, allocations: 0 / 1.358 GB, free: 11.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/1.487, allocations: 1.156 kB / 1.358 GB, free: 11.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.825e-06/1.487, allocations: 3.938 kB / 1.358 GB, free: 11.45 MB / 1.061 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.0006261/1.488, allocations: 493.6 kB / 1.359 GB, free: 11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/1.488, allocations: 10.56 kB / 1.359 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/1.488, allocations: 25.03 kB / 1.359 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/1.488, allocations: 265.4 kB / 1.359 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.488, allocations: 18.06 kB / 1.359 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/1.488, allocations: 22.75 kB / 1.359 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/1.489, allocations: 303.5 kB / 1.359 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.489, allocations: 3.141 kB / 1.359 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/1.489, allocations: 16.06 kB / 1.359 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/1.489, allocations: 10.5 kB / 1.359 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/1.489, allocations: 122.9 kB / 1.359 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/1.491, allocations: 1.966 MB / 1.361 GB, free: 8.594 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.406e-05/1.491, allocations: 169.6 kB / 1.362 GB, free: 8.422 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/1.491, allocations: 80.14 kB / 1.362 GB, free: 8.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/1.491, allocations: 83.28 kB / 1.362 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/1.491, allocations: 111.2 kB / 1.362 GB, free: 8.141 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.491, allocations: 0 / 1.362 GB, free: 8.141 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.515e-05/1.491, allocations: 57 kB / 1.362 GB, free: 8.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/1.491, allocations: 126.7 kB / 1.362 GB, free: 7.953 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/1.491, allocations: 333.4 kB / 1.362 GB, free: 7.781 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/1.491, allocations: 25.7 kB / 1.362 GB, free: 7.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/1.492, allocations: 166.2 kB / 1.363 GB, free: 7.605 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-06/1.492, allocations: 1.219 kB / 1.363 GB, free: 7.605 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/1.492, allocations: 22.61 kB / 1.363 GB, free: 7.586 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.492, allocations: 330.3 kB / 1.363 GB, free: 7.266 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/1.492, allocations: 10.53 kB / 1.363 GB, free: 7.262 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/1.492, allocations: 60.03 kB / 1.363 GB, free: 7.188 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.911e-05/1.492, allocations: 70.58 kB / 1.363 GB, free: 7.109 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.492, allocations: 1.734 kB / 1.363 GB, free: 7.109 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001878/1.492, allocations: 100.5 kB / 1.363 GB, free: 7.047 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.492, allocations: 6.219 kB / 1.363 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.492, allocations: 3.703 kB / 1.363 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.492, allocations: 5.562 kB / 1.363 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/1.492, allocations: 21.27 kB / 1.363 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/1.492, allocations: 4.156 kB / 1.363 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8e-05/1.492, allocations: 21.94 kB / 1.363 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/1.492, allocations: 4.312 kB / 1.363 GB, free: 7.02 MB / 1.061 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.0001396/1.493, allocations: 210.9 kB / 1.363 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/1.493, allocations: 136.4 kB / 1.363 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/1.493, allocations: 122.6 kB / 1.364 GB, free: 6.574 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-05/1.493, allocations: 186.2 kB / 1.364 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.932e-05/1.493, allocations: 186.8 kB / 1.364 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.339e-05/1.493, allocations: 178.6 kB / 1.364 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/1.493, allocations: 477.7 kB / 1.365 GB, free: 5.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-05/1.493, allocations: 102.1 kB / 1.365 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/1.493, allocations: 110.2 kB / 1.365 GB, free: 5.332 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.294e-05/1.493, allocations: 186 kB / 1.365 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/1.494, allocations: 178.1 kB / 1.365 GB, free: 4.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.48e-05/1.494, allocations: 187.2 kB / 1.365 GB, free: 4.777 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.5e-05/1.494, allocations: 178.3 kB / 1.365 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/1.494, allocations: 334.9 kB / 1.366 GB, free: 4.262 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/1.494, allocations: 205.1 kB / 1.366 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.81e-05/1.494, allocations: 183 kB / 1.366 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/1.494, allocations: 106.4 kB / 1.366 GB, free: 3.754 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/1.494, allocations: 182.2 kB / 1.366 GB, free: 3.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/1.494, allocations: 107.1 kB / 1.367 GB, free: 3.461 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002721/1.495, allocations: 239.3 kB / 1.367 GB, free: 3.332 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.495, allocations: 1.281 kB / 1.367 GB, free: 3.332 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002755/1.495, allocations: 28.47 kB / 1.367 GB, free: 3.328 MB / 1.061 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.000148/1.495, allocations: 170.7 kB / 1.367 GB, free: 3.168 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.842e-05/1.495, allocations: 25.42 kB / 1.367 GB, free: 3.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.495, allocations: 4.062 kB / 1.367 GB, free: 3.156 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.959e-06/1.495, allocations: 9.25 kB / 1.367 GB, free: 3.148 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/1.496, allocations: 0.5213 MB / 1.368 GB, free: 2.684 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/1.497, allocations: 395 kB / 1.368 GB, free: 2.398 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/1.497, allocations: 0.7451 MB / 1.369 GB, free: 1.695 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.245e-05/1.497, allocations: 32.5 kB / 1.369 GB, free: 1.684 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/1.497, allocations: 17.06 kB / 1.369 GB, free: 1.676 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/1.497, allocations: 0 / 1.369 GB, free: 1.676 MB / 1.061 GB Notification: Performance of Templates: time 0.006028/1.503, allocations: 2.412 MB / 1.371 GB, free: 1.477 MB / 1.061 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