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.0008717/0.000872, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006986/0.006986, allocations: 170.9 kB / 16.27 MB, free: 6.656 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.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.879/2.879, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 12.33 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3193, allocations: 159.6 MB / 1.059 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1582/0.4776, allocations: 143.9 MB / 1.199 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004753/0.4824, allocations: 4.557 MB / 1.204 GB, free: 432 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.4827, allocations: 11.94 kB / 1.204 GB, free: 420 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.4832, allocations: 127.2 kB / 1.204 GB, free: 292 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.4835, allocations: 83.5 kB / 1.204 GB, free: 208 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.4837, allocations: 59.89 kB / 1.204 GB, free: 148 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00041/0.4841, allocations: 362.7 kB / 1.204 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.4844, allocations: 128.1 kB / 1.204 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.4846, allocations: 87.58 kB / 1.204 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.4848, allocations: 135.5 kB / 1.205 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.4848, allocations: 7.938 kB / 1.205 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.455e-05/0.4848, allocations: 8 kB / 1.205 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.4849, allocations: 47.81 kB / 1.205 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.485, allocations: 113.1 kB / 1.205 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.4853, allocations: 215.4 kB / 1.205 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4853, allocations: 0 / 1.205 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4853, allocations: 0 / 1.205 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.4853, allocations: 4 kB / 1.205 GB, free: 15.05 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.0005122/0.4858, allocations: 455.2 kB / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4859, allocations: 12.03 kB / 1.205 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.4859, allocations: 24.66 kB / 1.205 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.4862, allocations: 251.9 kB / 1.206 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.4863, allocations: 20.75 kB / 1.206 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.4863, allocations: 20.38 kB / 1.206 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.4867, allocations: 305 kB / 1.206 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4867, allocations: 0 / 1.206 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.4867, allocations: 16 kB / 1.206 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.4868, allocations: 8 kB / 1.206 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.4869, allocations: 123.7 kB / 1.206 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.4882, allocations: 1.969 MB / 1.208 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.749e-05/0.4883, allocations: 169.1 kB / 1.208 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.4883, allocations: 84.14 kB / 1.208 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.4883, allocations: 75.28 kB / 1.208 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.4884, allocations: 117.8 kB / 1.209 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.4884, allocations: 0 / 1.209 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.281e-05/0.4885, allocations: 53.36 kB / 1.209 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.4885, allocations: 130.7 kB / 1.209 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.4889, allocations: 332.5 kB / 1.209 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.4889, allocations: 25.7 kB / 1.209 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.489, allocations: 159.6 kB / 1.209 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.72e-06/0.489, allocations: 4 kB / 1.209 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.489, allocations: 21.64 kB / 1.209 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4892, allocations: 330.8 kB / 1.21 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.4892, allocations: 7.984 kB / 1.21 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.184e-05/0.4892, allocations: 58.81 kB / 1.21 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.114e-05/0.4893, allocations: 74.83 kB / 1.21 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4893, allocations: 4 kB / 1.21 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001744/0.4895, allocations: 105.4 kB / 1.21 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4895, allocations: 4 kB / 1.21 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4895, allocations: 0 / 1.21 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.4896, allocations: 7.938 kB / 1.21 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.4897, allocations: 19.92 kB / 1.21 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4897, allocations: 4 kB / 1.21 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.4897, allocations: 31.59 kB / 1.21 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.4898, allocations: 0 / 1.21 GB, free: 9.703 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.0001213/0.4899, allocations: 213.1 kB / 1.21 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.49, allocations: 128.8 kB / 1.21 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.49, allocations: 126 kB / 1.21 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.408e-05/0.4901, allocations: 176.3 kB / 1.21 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-05/0.4902, allocations: 184.2 kB / 1.211 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.449e-05/0.4902, allocations: 180.3 kB / 1.211 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.4905, allocations: 489 kB / 1.211 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/0.4905, allocations: 105 kB / 1.211 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.4906, allocations: 101 kB / 1.211 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.365e-05/0.4907, allocations: 184.2 kB / 1.212 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/0.4907, allocations: 180.2 kB / 1.212 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.454e-05/0.4908, allocations: 180.4 kB / 1.212 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-05/0.4909, allocations: 188.2 kB / 1.212 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.491, allocations: 331.5 kB / 1.212 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.4911, allocations: 205.8 kB / 1.213 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.144e-05/0.4912, allocations: 184.1 kB / 1.213 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4913, allocations: 105 kB / 1.213 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.4914, allocations: 184.2 kB / 1.213 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.4914, allocations: 105 kB / 1.213 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002242/0.4917, allocations: 239 kB / 1.213 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4917, allocations: 0 / 1.213 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002616/0.4919, allocations: 24 kB / 1.213 GB, free: 5.746 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.000129/0.4921, allocations: 178.5 kB / 1.214 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.893e-05/0.4922, allocations: 23.94 kB / 1.214 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4922, allocations: 0 / 1.214 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.4922, allocations: 3.938 kB / 1.214 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/0.493, allocations: 0.5934 MB / 1.214 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.4935, allocations: 448.8 kB / 1.215 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.4939, allocations: 0.7482 MB / 1.215 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.59e-05/0.494, allocations: 30.28 kB / 1.215 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.494, allocations: 15.44 kB / 1.215 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.494, allocations: 0 / 1.215 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of Templates: time 0.005211/0.4992, allocations: 2.233 MB / 1.218 GB, free: 1.457 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