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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000815/0.000815, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009205/0.0009205, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.578/2.578, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003826, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.738/0.7385, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1932/0.9317, allocations: 158.2 MB / 1.109 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009303/0.9411, allocations: 8.783 MB / 1.117 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.9415, allocations: 7.938 kB / 1.118 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.9421, allocations: 131.1 kB / 1.118 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.9425, allocations: 83.44 kB / 1.118 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.9427, allocations: 43.95 kB / 1.118 GB, free: 7.859 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.9431, allocations: 338.8 kB / 1.118 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.9434, allocations: 145 kB / 1.118 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.9438, allocations: 127.4 kB / 1.118 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.9439, allocations: 83.52 kB / 1.118 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.9439, allocations: 4 kB / 1.118 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 2.466e-05/0.9439, allocations: 4 kB / 1.118 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.944, allocations: 55.8 kB / 1.118 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.9441, allocations: 69.58 kB / 1.119 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.9443, allocations: 207.4 kB / 1.119 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.9443, allocations: 0 / 1.119 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.146e-06/0.9444, allocations: 3.938 kB / 1.119 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.9444, allocations: 0 / 1.119 GB, free: 6.836 MB / 0.8731 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.0005325/0.9449, allocations: 483 kB / 1.119 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.945, allocations: 12.03 kB / 1.119 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.945, allocations: 23.72 kB / 1.119 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.9453, allocations: 263.9 kB / 1.119 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.9453, allocations: 20.56 kB / 1.12 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.9454, allocations: 24 kB / 1.12 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.9459, allocations: 331.8 kB / 1.12 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.9459, allocations: 0 / 1.12 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.9459, allocations: 12 kB / 1.12 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.9459, allocations: 8 kB / 1.12 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.9462, allocations: 143.7 kB / 1.12 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.9475, allocations: 1.82 MB / 1.122 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.9476, allocations: 169.1 kB / 1.122 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.9477, allocations: 80.14 kB / 1.122 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.9477, allocations: 75.28 kB / 1.122 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.395e-05/0.9478, allocations: 117.8 kB / 1.122 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.665e-06/0.9478, allocations: 3.984 kB / 1.122 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001076/0.9479, allocations: 53.33 kB / 1.122 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.948, allocations: 134.6 kB / 1.122 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.9484, allocations: 369.7 kB / 1.123 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.9484, allocations: 25.7 kB / 1.123 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.9485, allocations: 167.8 kB / 1.123 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-06/0.9486, allocations: 4 kB / 1.123 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.9486, allocations: 0 / 1.123 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9487, allocations: 342.8 kB / 1.123 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.9487, allocations: 0 / 1.123 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.9488, allocations: 40.28 kB / 1.123 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.9488, allocations: 12 kB / 1.123 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9488, allocations: 0 / 1.123 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001526/0.949, allocations: 85.28 kB / 1.123 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.949, allocations: 4 kB / 1.123 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.949, allocations: 4.109 kB / 1.123 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9491, allocations: 3.938 kB / 1.123 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.9491, allocations: 8 kB / 1.123 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9492, allocations: 8.141 kB / 1.123 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.9492, allocations: 27.59 kB / 1.123 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.9492, allocations: 4.125 kB / 1.123 GB, free: 1.699 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.9494, allocations: 224.9 kB / 1.124 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.9495, allocations: 128.7 kB / 1.124 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.016e-05/0.9496, allocations: 130.9 kB / 1.124 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.566e-05/0.9496, allocations: 180.3 kB / 1.124 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-05/0.9497, allocations: 180.3 kB / 1.124 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.453e-05/0.9498, allocations: 192.2 kB / 1.124 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.9501, allocations: 489.1 kB / 1.125 GB, free: 100 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.931e-05/0.9502, allocations: 104.9 kB / 1.125 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.9502, allocations: 105 kB / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.298e-05/0.9503, allocations: 180.3 kB / 1.125 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.9503, allocations: 180.2 kB / 1.125 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.005e-05/0.9504, allocations: 180.2 kB / 1.126 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.275e-05/0.9505, allocations: 192.2 kB / 1.126 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.9506, allocations: 331.4 kB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.9508, allocations: 209.7 kB / 1.126 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/0.9509, allocations: 176.3 kB / 1.126 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.951, allocations: 113.2 kB / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.9511, allocations: 180.3 kB / 1.127 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.9511, allocations: 105 kB / 1.127 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002598/0.9514, allocations: 267.2 kB / 1.127 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9514, allocations: 3.938 kB / 1.127 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002896/0.9517, allocations: 35.94 kB / 1.127 GB, free: 13.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001517/0.9518, allocations: 174.3 kB / 1.127 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.947e-05/0.9519, allocations: 16.03 kB / 1.127 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.9519, allocations: 4 kB / 1.127 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.9519, allocations: 4.25 kB / 1.127 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.9529, allocations: 0.6216 MB / 1.128 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007318/0.9536, allocations: 490.6 kB / 1.128 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.954, allocations: 0.7637 MB / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.9541, allocations: 26.97 kB / 1.129 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.9541, allocations: 19.44 kB / 1.129 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of SimCode: time 6.11e-07/0.9541, allocations: 0 / 1.129 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of Templates: time 0.006422/0.9606, allocations: 2.921 MB / 1.132 GB, free: 8.629 MB / 0.8887 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