Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001827/0.001827, allocations: 194.1 kB / 16.13 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.444/2.444, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7329, allocations: 140.4 MB / 0.9489 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1957/0.9287, allocations: 171.9 MB / 1.117 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.9393, allocations: 9.508 MB / 1.126 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00063/0.94, allocations: 11.94 kB / 1.126 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008891/0.941, allocations: 151.1 kB / 1.126 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.9414, allocations: 87.44 kB / 1.126 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.9417, allocations: 55.95 kB / 1.126 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005313/0.9423, allocations: 382.6 kB / 1.127 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004658/0.9427, allocations: 193.6 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.9431, allocations: 167.4 kB / 1.127 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.9433, allocations: 123.4 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.9434, allocations: 16 kB / 1.127 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.201e-05/0.9434, allocations: 16 kB / 1.127 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.9436, allocations: 67.75 kB / 1.127 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.9437, allocations: 123.4 kB / 1.127 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.944, allocations: 271 kB / 1.128 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.944, allocations: 0 / 1.128 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.052e-06/0.944, allocations: 4 kB / 1.128 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.9441, allocations: 0 / 1.128 GB, free: 10.46 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007316/0.9448, allocations: 0.5185 MB / 1.128 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.9448, allocations: 8.031 kB / 1.128 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.9449, allocations: 31.66 kB / 1.128 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.9453, allocations: 262.5 kB / 1.128 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.9453, allocations: 20.56 kB / 1.128 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.9454, allocations: 24 kB / 1.128 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.9459, allocations: 327.9 kB / 1.129 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.9459, allocations: 0 / 1.129 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.946, allocations: 12 kB / 1.129 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.946, allocations: 11.94 kB / 1.129 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.9462, allocations: 147.7 kB / 1.129 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.9477, allocations: 1.808 MB / 1.131 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.405e-05/0.9478, allocations: 169.1 kB / 1.131 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.9479, allocations: 80.14 kB / 1.131 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.9479, allocations: 79.22 kB / 1.131 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.948, allocations: 113.8 kB / 1.131 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 5e-06/0.948, allocations: 112 / 1.131 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001143/0.9481, allocations: 61.2 kB / 1.131 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.9482, allocations: 134.7 kB / 1.131 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.9486, allocations: 369.7 kB / 1.132 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.9486, allocations: 29.7 kB / 1.132 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.9488, allocations: 163.8 kB / 1.132 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.9488, allocations: 4 kB / 1.132 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.9488, allocations: 17.72 kB / 1.132 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.949, allocations: 334.8 kB / 1.132 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.949, allocations: 11.98 kB / 1.132 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.9491, allocations: 28.3 kB / 1.132 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.263e-05/0.9491, allocations: 48.23 kB / 1.132 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9491, allocations: 0 / 1.132 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001537/0.9493, allocations: 93.33 kB / 1.132 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.9493, allocations: 4.156 kB / 1.132 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.9493, allocations: 12 kB / 1.132 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.9494, allocations: 3.984 kB / 1.132 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.9494, allocations: 8 kB / 1.132 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.9494, allocations: 3.938 kB / 1.132 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.9495, allocations: 27.59 kB / 1.132 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.9495, allocations: 4 kB / 1.132 GB, free: 5.191 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001566/0.9497, allocations: 213.1 kB / 1.133 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.9498, allocations: 132.6 kB / 1.133 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.514e-05/0.9499, allocations: 130.9 kB / 1.133 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.951e-05/0.95, allocations: 176.3 kB / 1.133 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-05/0.9501, allocations: 188.2 kB / 1.133 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.381e-05/0.9502, allocations: 180.2 kB / 1.133 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.9505, allocations: 489.3 kB / 1.134 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-05/0.9506, allocations: 120.9 kB / 1.134 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.9507, allocations: 101 kB / 1.134 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.852e-05/0.9508, allocations: 184.2 kB / 1.134 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.879e-05/0.9509, allocations: 176.3 kB / 1.134 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.689e-05/0.9509, allocations: 184.2 kB / 1.135 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.164e-05/0.951, allocations: 184.2 kB / 1.135 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.9512, allocations: 335.4 kB / 1.135 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.9514, allocations: 209.7 kB / 1.135 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.9515, allocations: 180.3 kB / 1.135 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.9516, allocations: 108.9 kB / 1.136 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.9517, allocations: 184.3 kB / 1.136 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.9518, allocations: 104.9 kB / 1.136 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003022/0.9521, allocations: 271.2 kB / 1.136 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9521, allocations: 0 / 1.136 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002759/0.9524, allocations: 31.94 kB / 1.136 GB, free: 1.168 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.0001518/0.9526, allocations: 174.5 kB / 1.136 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.9526, allocations: 15.94 kB / 1.136 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9527, allocations: 0 / 1.136 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/0.9527, allocations: 4 kB / 1.136 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/0.9537, allocations: 0.6145 MB / 1.137 GB, free: 356 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/0.9544, allocations: 483.2 kB / 1.137 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.9548, allocations: 0.7676 MB / 1.138 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.9549, allocations: 30.97 kB / 1.138 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.9549, allocations: 19.44 kB / 1.138 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.9549, allocations: 3.938 kB / 1.138 GB, free: 15 MB / 0.9044 GB Notification: Performance of Templates: time 0.006583/0.9615, allocations: 3.024 MB / 1.141 GB, free: 12.03 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches