Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.006024/0.006024, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.00138/0.00138, allocations: 189.4 kB / 16.79 MB, free: 5.809 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.763/2.763, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 0.8692 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6819/0.6834, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1473/0.8307, allocations: 145.8 MB / 1.16 GB, free: 384 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005286/0.8361, allocations: 4.615 MB / 1.164 GB, free: 11.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003956/0.8365, allocations: 8 kB / 1.164 GB, free: 11.74 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006352/0.8372, allocations: 131.2 kB / 1.164 GB, free: 11.61 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.8377, allocations: 87.55 kB / 1.164 GB, free: 11.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.8379, allocations: 51.95 kB / 1.164 GB, free: 11.47 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.8384, allocations: 362.8 kB / 1.165 GB, free: 11.12 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.8387, allocations: 152.1 kB / 1.165 GB, free: 10.96 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.839, allocations: 99.58 kB / 1.165 GB, free: 10.86 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.8393, allocations: 159.3 kB / 1.165 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.8393, allocations: 12 kB / 1.165 GB, free: 10.7 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.8394, allocations: 12 kB / 1.165 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.755e-05/0.8395, allocations: 59.81 kB / 1.165 GB, free: 10.62 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.8396, allocations: 99.48 kB / 1.165 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.8398, allocations: 173.6 kB / 1.166 GB, free: 10.36 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8398, allocations: 3.938 kB / 1.166 GB, free: 10.36 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.71e-07/0.8398, allocations: 0 / 1.166 GB, free: 10.36 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.8398, allocations: 0 / 1.166 GB, free: 10.36 MB / 0.92 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.0005522/0.8404, allocations: 491.2 kB / 1.166 GB, free: 9.828 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.8404, allocations: 11.98 kB / 1.166 GB, free: 9.816 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.8405, allocations: 28.66 kB / 1.166 GB, free: 9.789 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.8408, allocations: 261.1 kB / 1.166 GB, free: 9.496 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.8408, allocations: 20.81 kB / 1.166 GB, free: 9.477 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.8409, allocations: 20.38 kB / 1.166 GB, free: 9.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.8413, allocations: 305 kB / 1.167 GB, free: 9.102 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.8413, allocations: 7.938 kB / 1.167 GB, free: 9.094 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.8413, allocations: 4 kB / 1.167 GB, free: 9.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.8413, allocations: 8 kB / 1.167 GB, free: 9.082 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.8415, allocations: 127.7 kB / 1.167 GB, free: 8.957 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.8429, allocations: 1.977 MB / 1.169 GB, free: 6.871 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.843, allocations: 169.1 kB / 1.169 GB, free: 6.695 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.843, allocations: 80.14 kB / 1.169 GB, free: 6.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.8431, allocations: 83.27 kB / 1.169 GB, free: 6.531 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.8431, allocations: 105.8 kB / 1.169 GB, free: 6.418 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.8431, allocations: 0 / 1.169 GB, free: 6.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001106/0.8432, allocations: 53.36 kB / 1.169 GB, free: 6.359 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.8433, allocations: 130.7 kB / 1.169 GB, free: 6.219 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.8437, allocations: 328.5 kB / 1.17 GB, free: 5.887 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.8437, allocations: 25.7 kB / 1.17 GB, free: 5.855 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.8438, allocations: 163.7 kB / 1.17 GB, free: 5.691 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/0.8439, allocations: 4 kB / 1.17 GB, free: 5.688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.8439, allocations: 29.64 kB / 1.17 GB, free: 5.652 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.8441, allocations: 334.8 kB / 1.17 GB, free: 5.316 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.8441, allocations: 4 kB / 1.17 GB, free: 5.312 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/0.8441, allocations: 58.86 kB / 1.17 GB, free: 5.23 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/0.8442, allocations: 70.75 kB / 1.17 GB, free: 5.137 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8442, allocations: 0 / 1.17 GB, free: 5.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002045/0.8445, allocations: 101.3 kB / 1.17 GB, free: 5.031 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.8445, allocations: 14.17 kB / 1.17 GB, free: 5.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.8445, allocations: 0 / 1.17 GB, free: 5.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.8445, allocations: 11.88 kB / 1.17 GB, free: 5.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.8446, allocations: 16.19 kB / 1.17 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8446, allocations: 4 kB / 1.17 GB, free: 4.988 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/0.8447, allocations: 27.59 kB / 1.17 GB, free: 4.961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.8447, allocations: 4 kB / 1.17 GB, free: 4.957 MB / 0.92 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.0001388/0.8449, allocations: 213.6 kB / 1.171 GB, free: 4.738 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/0.845, allocations: 124.7 kB / 1.171 GB, free: 4.609 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.659e-05/0.845, allocations: 126 kB / 1.171 GB, free: 4.48 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.747e-05/0.8451, allocations: 200.2 kB / 1.171 GB, free: 4.277 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.658e-05/0.8452, allocations: 176.3 kB / 1.171 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.585e-05/0.8452, allocations: 176.3 kB / 1.171 GB, free: 3.918 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.8455, allocations: 481.1 kB / 1.172 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.382e-05/0.8456, allocations: 101 kB / 1.172 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.8456, allocations: 108.9 kB / 1.172 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.956e-05/0.8457, allocations: 180.3 kB / 1.172 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.8458, allocations: 192.1 kB / 1.172 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.451e-05/0.8459, allocations: 180.2 kB / 1.173 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.147e-05/0.8459, allocations: 176.3 kB / 1.173 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.8461, allocations: 331.5 kB / 1.173 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.8462, allocations: 197.8 kB / 1.173 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/0.8463, allocations: 192.1 kB / 1.173 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.8464, allocations: 101 kB / 1.174 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.8465, allocations: 184.2 kB / 1.174 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.8466, allocations: 109 kB / 1.174 GB, free: 1.262 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002285/0.8468, allocations: 239 kB / 1.174 GB, free: 1.031 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8468, allocations: 0 / 1.174 GB, free: 1.031 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002835/0.8471, allocations: 35.84 kB / 1.174 GB, free: 0.9961 MB / 0.92 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.0001425/0.8472, allocations: 170.5 kB / 1.174 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.8473, allocations: 27.86 kB / 1.174 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8474, allocations: 4.5 kB / 1.174 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.8474, allocations: 4 kB / 1.174 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.8482, allocations: 0.5851 MB / 1.175 GB, free: 196 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.8489, allocations: 472 kB / 1.175 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.8492, allocations: 0.7443 MB / 1.176 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.8492, allocations: 19.44 kB / 1.176 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.8493, allocations: 0 / 1.176 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of Templates: time 0.005063/0.8543, allocations: 2.591 MB / 1.179 GB, free: 12.33 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches