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.001177/0.001177, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.596/2.596, allocations: 390.2 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.00147, allocations: 71.88 kB / 0.8125 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7081/0.7096, allocations: 140.3 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2187/0.9284, allocations: 174 MB / 1.12 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.9397, allocations: 9.522 MB / 1.129 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005043/0.9403, allocations: 8 kB / 1.129 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007479/0.9411, allocations: 190.6 kB / 1.129 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.9414, allocations: 95.3 kB / 1.129 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.9417, allocations: 67.92 kB / 1.129 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.9421, allocations: 322.7 kB / 1.13 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004694/0.9426, allocations: 212.8 kB / 1.13 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00057/0.9432, allocations: 163.4 kB / 1.13 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.9435, allocations: 131.4 kB / 1.13 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.9435, allocations: 20 kB / 1.13 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.022e-05/0.9436, allocations: 20 kB / 1.13 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.9438, allocations: 75.81 kB / 1.13 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.944, allocations: 127.3 kB / 1.13 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.9445, allocations: 271 kB / 1.13 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.9445, allocations: 7.984 kB / 1.13 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9445, allocations: 0 / 1.13 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.9446, allocations: 0 / 1.13 GB, free: 7.965 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.0008325/0.9454, allocations: 0.5145 MB / 1.131 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.9455, allocations: 8.031 kB / 1.131 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.543e-05/0.9456, allocations: 31.66 kB / 1.131 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.946, allocations: 270.4 kB / 1.131 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.9461, allocations: 20.56 kB / 1.131 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.9461, allocations: 24 kB / 1.131 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.9468, allocations: 323.9 kB / 1.132 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.9468, allocations: 3.938 kB / 1.132 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.9469, allocations: 12 kB / 1.132 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.9469, allocations: 11.98 kB / 1.132 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.9473, allocations: 143.7 kB / 1.132 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.9495, allocations: 1.808 MB / 1.134 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.9496, allocations: 177.1 kB / 1.134 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.9497, allocations: 80.14 kB / 1.134 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.9498, allocations: 79.25 kB / 1.134 GB, free: 4.234 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.064e-05/0.9499, allocations: 113.8 kB / 1.134 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.9499, allocations: 0 / 1.134 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.000176/0.9501, allocations: 57.44 kB / 1.134 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.9502, allocations: 130.6 kB / 1.134 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.9508, allocations: 373.7 kB / 1.135 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.9508, allocations: 29.64 kB / 1.135 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.951, allocations: 163.8 kB / 1.135 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.951, allocations: 3.984 kB / 1.135 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.9511, allocations: 21.72 kB / 1.135 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.9513, allocations: 338.8 kB / 1.135 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.9513, allocations: 4 kB / 1.135 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.9514, allocations: 36.28 kB / 1.135 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.9514, allocations: 44.23 kB / 1.135 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9515, allocations: 0 / 1.135 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000239/0.9517, allocations: 89.22 kB / 1.135 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.9517, allocations: 8 kB / 1.135 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.9518, allocations: 0 / 1.135 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.9518, allocations: 4.156 kB / 1.135 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.9519, allocations: 12 kB / 1.135 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.9519, allocations: 7.984 kB / 1.135 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.9521, allocations: 23.72 kB / 1.135 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.9521, allocations: 8 kB / 1.135 GB, free: 2.699 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.000222/0.9523, allocations: 213 kB / 1.135 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.9525, allocations: 140.6 kB / 1.136 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.9526, allocations: 127 kB / 1.136 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001021/0.9527, allocations: 184.2 kB / 1.136 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.883e-05/0.9528, allocations: 180.3 kB / 1.136 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001097/0.9529, allocations: 180.2 kB / 1.136 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.9534, allocations: 489.1 kB / 1.137 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.677e-05/0.9534, allocations: 108.9 kB / 1.137 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.9535, allocations: 108.9 kB / 1.137 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.301e-05/0.9536, allocations: 180.2 kB / 1.137 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/0.9537, allocations: 184.2 kB / 1.137 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-05/0.9538, allocations: 180.3 kB / 1.137 GB, free: 332 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.049e-05/0.9539, allocations: 184.2 kB / 1.138 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.9541, allocations: 335.4 kB / 1.138 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.9543, allocations: 213.7 kB / 1.138 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.9545, allocations: 176.3 kB / 1.138 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.9547, allocations: 105 kB / 1.138 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.9548, allocations: 188.4 kB / 1.139 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.516e-05/0.9548, allocations: 105 kB / 1.139 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004057/0.9552, allocations: 271.2 kB / 1.139 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.9553, allocations: 0 / 1.139 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004543/0.9557, allocations: 31.94 kB / 1.139 GB, free: 14.67 MB / 0.9044 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.0001853/0.9559, allocations: 170.5 kB / 1.139 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.956, allocations: 19.95 kB / 1.139 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9561, allocations: 8.312 kB / 1.139 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-06/0.9561, allocations: 4 kB / 1.139 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.9574, allocations: 0.5492 MB / 1.14 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.9583, allocations: 451 kB / 1.14 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.9588, allocations: 0.7558 MB / 1.141 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.959, allocations: 30.95 kB / 1.141 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.9591, allocations: 23.44 kB / 1.141 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of SimCode: time 3.7e-07/0.9591, allocations: 0 / 1.141 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.01016/0.9693, allocations: 3.158 MB / 1.144 GB, free: 9.504 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