Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003474/0.003474, allocations: 210.7 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.709/1.709, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.816/3.816, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 68.92 kB / 1.186 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5545/0.5567, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2687/0.8254, allocations: 153.7 MB / 1.514 GB, free: 3.262 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.8369, allocations: 8.655 MB / 1.522 GB, free: 10.58 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003781/0.8373, allocations: 11.94 kB / 1.522 GB, free: 10.57 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007374/0.8381, allocations: 198.6 kB / 1.523 GB, free: 10.37 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.8384, allocations: 91.31 kB / 1.523 GB, free: 10.28 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.8386, allocations: 67.92 kB / 1.523 GB, free: 10.21 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.839, allocations: 330.7 kB / 1.523 GB, free: 9.891 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.8394, allocations: 125.4 kB / 1.523 GB, free: 9.766 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.8398, allocations: 179.3 kB / 1.523 GB, free: 9.59 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.84, allocations: 107.4 kB / 1.523 GB, free: 9.484 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.84, allocations: 24 kB / 1.524 GB, free: 9.461 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 4.506e-05/0.8401, allocations: 20 kB / 1.524 GB, free: 9.441 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.8402, allocations: 79.75 kB / 1.524 GB, free: 9.363 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.8403, allocations: 107.5 kB / 1.524 GB, free: 9.258 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.8407, allocations: 298.6 kB / 1.524 GB, free: 8.965 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8407, allocations: 0 / 1.524 GB, free: 8.965 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8407, allocations: 7.875 kB / 1.524 GB, free: 8.957 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.8407, allocations: 0 / 1.524 GB, free: 8.957 MB / 1.217 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.0007065/0.8414, allocations: 449.6 kB / 1.524 GB, free: 8.488 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.8415, allocations: 12.03 kB / 1.524 GB, free: 8.477 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.71e-05/0.8416, allocations: 35.75 kB / 1.524 GB, free: 8.441 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.8421, allocations: 222.7 kB / 1.525 GB, free: 8.199 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.8421, allocations: 20.66 kB / 1.525 GB, free: 8.18 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.8422, allocations: 24 kB / 1.525 GB, free: 8.156 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.8427, allocations: 321.2 kB / 1.525 GB, free: 7.797 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.8427, allocations: 3.938 kB / 1.525 GB, free: 7.793 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.8427, allocations: 16 kB / 1.525 GB, free: 7.777 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.8428, allocations: 11.98 kB / 1.525 GB, free: 7.766 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.843, allocations: 139.7 kB / 1.525 GB, free: 7.629 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.8447, allocations: 1.633 MB / 1.527 GB, free: 5.918 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.8448, allocations: 169.1 kB / 1.527 GB, free: 5.742 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.8449, allocations: 80.14 kB / 1.527 GB, free: 5.66 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/0.8449, allocations: 75.28 kB / 1.527 GB, free: 5.586 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.957e-05/0.845, allocations: 117.7 kB / 1.527 GB, free: 5.461 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.845, allocations: 0 / 1.527 GB, free: 5.461 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 9.581e-05/0.8451, allocations: 37.64 kB / 1.527 GB, free: 5.418 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.8452, allocations: 126.7 kB / 1.527 GB, free: 5.281 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.8454, allocations: 162.6 kB / 1.528 GB, free: 5.109 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.8454, allocations: 25.7 kB / 1.528 GB, free: 5.078 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.8456, allocations: 203.9 kB / 1.528 GB, free: 4.875 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.8456, allocations: 0 / 1.528 GB, free: 4.875 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.8457, allocations: 17.83 kB / 1.528 GB, free: 4.852 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.8459, allocations: 326.8 kB / 1.528 GB, free: 4.523 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.8459, allocations: 0 / 1.528 GB, free: 4.523 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.314e-05/0.8459, allocations: 40.23 kB / 1.528 GB, free: 4.469 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.256e-05/0.846, allocations: 44.22 kB / 1.528 GB, free: 4.41 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.846, allocations: 4 kB / 1.528 GB, free: 4.406 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001565/0.8462, allocations: 65.58 kB / 1.528 GB, free: 4.336 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.8462, allocations: 11.94 kB / 1.528 GB, free: 4.324 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8462, allocations: 0 / 1.528 GB, free: 4.324 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.8462, allocations: 0 / 1.528 GB, free: 4.324 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.8463, allocations: 11.94 kB / 1.528 GB, free: 4.312 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.8463, allocations: 4 kB / 1.528 GB, free: 4.309 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.8463, allocations: 4 kB / 1.528 GB, free: 4.305 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.8464, allocations: 8.156 kB / 1.528 GB, free: 4.297 MB / 1.217 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.0001838/0.8465, allocations: 213 kB / 1.528 GB, free: 4.078 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.8466, allocations: 128.8 kB / 1.529 GB, free: 3.945 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.559e-05/0.8467, allocations: 117.3 kB / 1.529 GB, free: 3.82 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.877e-05/0.8468, allocations: 180.3 kB / 1.529 GB, free: 3.637 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.771e-05/0.8469, allocations: 180.2 kB / 1.529 GB, free: 3.453 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.77e-05/0.847, allocations: 184.2 kB / 1.529 GB, free: 3.266 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.8473, allocations: 420.8 kB / 1.53 GB, free: 2.816 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.335e-05/0.8474, allocations: 101 kB / 1.53 GB, free: 2.711 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.8475, allocations: 109 kB / 1.53 GB, free: 2.598 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/0.8476, allocations: 188.2 kB / 1.53 GB, free: 2.406 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.8477, allocations: 184.2 kB / 1.53 GB, free: 2.219 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001051/0.8478, allocations: 184.3 kB / 1.53 GB, free: 2.031 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.091e-05/0.8479, allocations: 180.3 kB / 1.531 GB, free: 1.848 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.8481, allocations: 315.7 kB / 1.531 GB, free: 1.516 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.8482, allocations: 108.9 kB / 1.531 GB, free: 1.402 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.8483, allocations: 184.1 kB / 1.531 GB, free: 1.215 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.8484, allocations: 105 kB / 1.531 GB, free: 1.105 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.8485, allocations: 180.2 kB / 1.531 GB, free: 0.9219 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.8486, allocations: 104.9 kB / 1.531 GB, free: 0.8125 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001078/0.8487, allocations: 119.2 kB / 1.532 GB, free: 0.6953 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.8487, allocations: 4 kB / 1.532 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003102/0.849, allocations: 47.73 kB / 1.532 GB, free: 0.6445 MB / 1.217 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.0001971/0.8492, allocations: 180.5 kB / 1.532 GB, free: 468 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.8493, allocations: 19.86 kB / 1.532 GB, free: 448 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8493, allocations: 0 / 1.532 GB, free: 448 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.8493, allocations: 0 / 1.532 GB, free: 448 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.8498, allocations: 462 kB / 1.532 GB, free: 15.98 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007474/0.8506, allocations: 437.4 kB / 1.533 GB, free: 15.53 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.8508, allocations: 141.2 kB / 1.533 GB, free: 15.38 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 5.604e-05/0.8508, allocations: 8.438 kB / 1.533 GB, free: 15.37 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.8509, allocations: 11.44 kB / 1.533 GB, free: 15.36 MB / 1.232 GB Notification: Performance of SimCode: time 3.01e-07/0.8509, allocations: 0 / 1.533 GB, free: 15.36 MB / 1.232 GB Notification: Performance of Templates: time 0.003838/0.8547, allocations: 0.5806 MB / 1.533 GB, free: 14.78 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.317331744357944]