Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001232/0.001232, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001509/0.001509, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.827, allocations: 140.4 MB / 0.9491 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1745/1.002, allocations: 146 MB / 1.092 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005523/1.007, allocations: 4.604 MB / 1.096 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/1.008, allocations: 11.94 kB / 1.096 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006012/1.008, allocations: 135.2 kB / 1.096 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003935/1.009, allocations: 79.56 kB / 1.096 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/1.009, allocations: 47.97 kB / 1.096 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003798/1.009, allocations: 310.6 kB / 1.097 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/1.01, allocations: 155.6 kB / 1.097 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/1.01, allocations: 111.5 kB / 1.097 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/1.01, allocations: 159.4 kB / 1.097 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/1.01, allocations: 16 kB / 1.097 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.34e-05/1.01, allocations: 16 kB / 1.097 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/1.01, allocations: 67.77 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/1.01, allocations: 103.5 kB / 1.097 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003165/1.011, allocations: 233.2 kB / 1.098 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.011, allocations: 0 / 1.098 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.043e-06/1.011, allocations: 0 / 1.098 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.011, allocations: 0 / 1.098 GB, free: 9.711 MB / 0.8575 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.0005351/1.011, allocations: 491.1 kB / 1.098 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.011, allocations: 8.031 kB / 1.098 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/1.011, allocations: 28.59 kB / 1.098 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/1.012, allocations: 263.8 kB / 1.098 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/1.012, allocations: 16.81 kB / 1.098 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/1.012, allocations: 24.38 kB / 1.098 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/1.012, allocations: 301.1 kB / 1.099 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/1.012, allocations: 3.938 kB / 1.099 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/1.012, allocations: 8 kB / 1.099 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/1.012, allocations: 8 kB / 1.099 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/1.012, allocations: 123.7 kB / 1.099 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/1.014, allocations: 1.977 MB / 1.101 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.002e-05/1.014, allocations: 169.1 kB / 1.101 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/1.014, allocations: 80.14 kB / 1.101 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/1.014, allocations: 75.28 kB / 1.101 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/1.014, allocations: 109.8 kB / 1.101 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/1.014, allocations: 0 / 1.101 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.882e-05/1.014, allocations: 53.36 kB / 1.101 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/1.014, allocations: 130.6 kB / 1.101 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/1.015, allocations: 332.5 kB / 1.102 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/1.015, allocations: 25.7 kB / 1.102 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/1.015, allocations: 159.7 kB / 1.102 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/1.015, allocations: 8 kB / 1.102 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/1.015, allocations: 21.7 kB / 1.102 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.015, allocations: 334.8 kB / 1.102 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/1.015, allocations: 8 kB / 1.102 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/1.015, allocations: 58.84 kB / 1.102 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.534e-05/1.015, allocations: 74.75 kB / 1.102 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.015, allocations: 0 / 1.102 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001861/1.015, allocations: 97.28 kB / 1.102 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/1.016, allocations: 15.86 kB / 1.102 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.016, allocations: 4 kB / 1.102 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.016, allocations: 7.938 kB / 1.102 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/1.016, allocations: 12 kB / 1.102 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.016, allocations: 8.25 kB / 1.102 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/1.016, allocations: 23.69 kB / 1.102 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/1.016, allocations: 4 kB / 1.102 GB, free: 4.324 MB / 0.8575 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.0001389/1.016, allocations: 213 kB / 1.103 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/1.016, allocations: 124.7 kB / 1.103 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.142e-05/1.016, allocations: 126 kB / 1.103 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-05/1.016, allocations: 192.2 kB / 1.103 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.184e-05/1.016, allocations: 192.2 kB / 1.103 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.089e-05/1.016, allocations: 180.2 kB / 1.103 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/1.017, allocations: 473.1 kB / 1.104 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/1.017, allocations: 109 kB / 1.104 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/1.017, allocations: 104.9 kB / 1.104 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.716e-05/1.017, allocations: 180.3 kB / 1.104 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/1.017, allocations: 184.1 kB / 1.104 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.844e-05/1.017, allocations: 188.2 kB / 1.105 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-05/1.017, allocations: 180.2 kB / 1.105 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/1.017, allocations: 319.5 kB / 1.105 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/1.017, allocations: 209.7 kB / 1.105 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/1.017, allocations: 184.2 kB / 1.105 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/1.017, allocations: 105 kB / 1.106 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/1.017, allocations: 184.2 kB / 1.106 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/1.018, allocations: 101.3 kB / 1.106 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002219/1.018, allocations: 243 kB / 1.106 GB, free: 400 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.018, allocations: 0 / 1.106 GB, free: 400 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002571/1.018, allocations: 27.94 kB / 1.106 GB, free: 372 kB / 0.8575 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.0001773/1.018, allocations: 170.5 kB / 1.106 GB, free: 192 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.765e-05/1.018, allocations: 31.86 kB / 1.106 GB, free: 160 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.018, allocations: 4.5 kB / 1.106 GB, free: 156 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/1.018, allocations: 4 kB / 1.106 GB, free: 152 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009359/1.019, allocations: 0.5158 MB / 1.107 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006121/1.02, allocations: 452.2 kB / 1.107 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/1.02, allocations: 0.744 MB / 1.108 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.507e-05/1.02, allocations: 30.23 kB / 1.108 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/1.02, allocations: 23.38 kB / 1.108 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.02, allocations: 0 / 1.108 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.005213/1.026, allocations: 2.332 MB / 1.11 GB, free: 12.05 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches