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.005868/0.005868, allocations: 100.8 kB / 15.87 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.001238/0.001238, allocations: 195.8 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.42/1.42, 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 9.1.2-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.2 MB / 0.6649 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 64.05 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7451/0.7465, allocations: 140.4 MB / 0.9496 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.245/0.9916, allocations: 171.9 MB / 1.117 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009106/1.001, allocations: 9.52 MB / 1.127 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003867/1.001, allocations: 4 kB / 1.127 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000587/1.002, allocations: 155 kB / 1.127 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002749/1.002, allocations: 87.5 kB / 1.127 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/1.002, allocations: 59.88 kB / 1.127 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004027/1.003, allocations: 382.7 kB / 1.127 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/1.003, allocations: 205.6 kB / 1.128 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/1.003, allocations: 143.5 kB / 1.128 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/1.004, allocations: 131.3 kB / 1.128 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/1.004, allocations: 16 kB / 1.128 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.537e-05/1.004, allocations: 20 kB / 1.128 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/1.004, allocations: 63.83 kB / 1.128 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/1.004, allocations: 127.3 kB / 1.128 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/1.004, allocations: 211.5 kB / 1.128 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.004, allocations: 0 / 1.128 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.166e-06/1.004, allocations: 0 / 1.128 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.032e-06/1.004, allocations: 3.938 kB / 1.128 GB, free: 10.64 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.0005422/1.005, allocations: 0.5113 MB / 1.129 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.005, allocations: 11.97 kB / 1.129 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/1.005, allocations: 35.66 kB / 1.129 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/1.005, allocations: 267.8 kB / 1.129 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/1.005, allocations: 20.56 kB / 1.129 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/1.005, allocations: 24 kB / 1.129 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/1.006, allocations: 327.9 kB / 1.129 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.006, allocations: 0 / 1.129 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/1.006, allocations: 12 kB / 1.129 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/1.006, allocations: 8 kB / 1.129 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/1.006, allocations: 143.7 kB / 1.13 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/1.007, allocations: 1.812 MB / 1.131 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.484e-05/1.007, allocations: 173.1 kB / 1.131 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/1.007, allocations: 80.14 kB / 1.132 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/1.007, allocations: 79.22 kB / 1.132 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/1.007, allocations: 113.8 kB / 1.132 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/1.007, allocations: 0 / 1.132 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.636e-05/1.007, allocations: 57.33 kB / 1.132 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/1.008, allocations: 134.7 kB / 1.132 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/1.008, allocations: 377.6 kB / 1.132 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/1.008, allocations: 25.7 kB / 1.132 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/1.008, allocations: 163.8 kB / 1.132 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-06/1.008, allocations: 0 / 1.132 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/1.008, allocations: 21.75 kB / 1.133 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.008, allocations: 334.9 kB / 1.133 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/1.008, allocations: 19.92 kB / 1.133 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/1.008, allocations: 28.3 kB / 1.133 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/1.008, allocations: 48.23 kB / 1.133 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.008, allocations: 4 kB / 1.133 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001541/1.009, allocations: 85.22 kB / 1.133 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.009, allocations: 8 kB / 1.133 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.009, allocations: 0 / 1.133 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/1.009, allocations: 0 / 1.133 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/1.009, allocations: 11.98 kB / 1.133 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/1.009, allocations: 4 kB / 1.133 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/1.009, allocations: 31.75 kB / 1.133 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/1.009, allocations: 0 / 1.133 GB, free: 5.375 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.0001589/1.009, allocations: 221 kB / 1.133 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.759e-05/1.009, allocations: 128.6 kB / 1.133 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/1.009, allocations: 123 kB / 1.134 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.756e-05/1.009, allocations: 188.1 kB / 1.134 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.356e-05/1.009, allocations: 188.2 kB / 1.134 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.022e-05/1.009, allocations: 180.2 kB / 1.134 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/1.01, allocations: 493.2 kB / 1.135 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.753e-05/1.01, allocations: 104.9 kB / 1.135 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/1.01, allocations: 104.9 kB / 1.135 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.093e-05/1.01, allocations: 184.2 kB / 1.135 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.571e-05/1.01, allocations: 184.2 kB / 1.135 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.148e-05/1.01, allocations: 176.3 kB / 1.135 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-05/1.01, allocations: 180.3 kB / 1.135 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/1.01, allocations: 335.4 kB / 1.136 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/1.01, allocations: 217.7 kB / 1.136 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-05/1.01, allocations: 180.3 kB / 1.136 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/1.011, allocations: 105 kB / 1.136 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.23e-05/1.011, allocations: 180.2 kB / 1.136 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/1.011, allocations: 101 kB / 1.136 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002587/1.011, allocations: 271.2 kB / 1.137 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.3e-07/1.011, allocations: 4 kB / 1.137 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002492/1.011, allocations: 31.94 kB / 1.137 GB, free: 1.355 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.0001269/1.011, allocations: 174.5 kB / 1.137 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.511e-05/1.011, allocations: 15.94 kB / 1.137 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.011, allocations: 3.938 kB / 1.137 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/1.011, allocations: 0 / 1.137 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000896/1.012, allocations: 0.633 MB / 1.138 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/1.013, allocations: 0.509 MB / 1.138 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/1.013, allocations: 0.752 MB / 1.139 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/1.013, allocations: 19.44 kB / 1.139 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/1.013, allocations: 0 / 1.139 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.005196/1.019, allocations: 3.117 MB / 1.142 GB, free: 12.09 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/jenkins1/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