Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001589/0.001589, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002333/0.002333, allocations: 217.7 kB / 22.25 MB, free: 5.125 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.644/1.644, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.715/3.715, allocations: 0.49 GB / 0.7951 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002123/0.002123, allocations: 67.69 kB / 1.154 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4792/0.4813, allocations: 176.1 MB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2718/0.7531, allocations: 177.8 MB / 1.5 GB, free: 14.96 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.7683, allocations: 9.662 MB / 1.509 GB, free: 5.262 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006084/0.7689, allocations: 11.94 kB / 1.509 GB, free: 5.25 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009396/0.7699, allocations: 198.6 kB / 1.51 GB, free: 5.055 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0005505/0.7704, allocations: 91.38 kB / 1.51 GB, free: 4.965 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.7708, allocations: 71.73 kB / 1.51 GB, free: 4.895 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007579/0.7716, allocations: 326.7 kB / 1.51 GB, free: 4.574 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.772, allocations: 137.2 kB / 1.51 GB, free: 4.438 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005791/0.7726, allocations: 179.3 kB / 1.51 GB, free: 4.262 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.7728, allocations: 127.4 kB / 1.511 GB, free: 4.137 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.7729, allocations: 20 kB / 1.511 GB, free: 4.117 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 5.058e-05/0.7729, allocations: 20 kB / 1.511 GB, free: 4.098 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.773, allocations: 83.75 kB / 1.511 GB, free: 4.016 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.7732, allocations: 123.4 kB / 1.511 GB, free: 3.895 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.7736, allocations: 302.5 kB / 1.511 GB, free: 3.598 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.7736, allocations: 0 / 1.511 GB, free: 3.598 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7736, allocations: 0 / 1.511 GB, free: 3.598 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.7737, allocations: 0 / 1.511 GB, free: 3.598 MB / 1.201 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.0007195/0.7744, allocations: 453.6 kB / 1.511 GB, free: 3.125 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.7744, allocations: 8.031 kB / 1.511 GB, free: 3.117 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.7745, allocations: 35.75 kB / 1.512 GB, free: 3.082 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.7751, allocations: 214.6 kB / 1.512 GB, free: 2.848 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.7751, allocations: 20.66 kB / 1.512 GB, free: 2.828 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.7751, allocations: 24 kB / 1.512 GB, free: 2.805 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.7757, allocations: 325.2 kB / 1.512 GB, free: 2.441 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.7757, allocations: 7.922 kB / 1.512 GB, free: 2.434 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.7758, allocations: 12 kB / 1.512 GB, free: 2.422 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.7758, allocations: 8 kB / 1.512 GB, free: 2.414 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/0.7761, allocations: 151.7 kB / 1.512 GB, free: 2.266 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.778, allocations: 1.772 MB / 1.514 GB, free: 412 kB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.7781, allocations: 173.1 kB / 1.514 GB, free: 228 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.843e-05/0.7781, allocations: 80.25 kB / 1.514 GB, free: 144 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.7782, allocations: 83.16 kB / 1.514 GB, free: 60 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.651e-05/0.7783, allocations: 121.8 kB / 1.514 GB, free: 15.93 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.7783, allocations: 0 / 1.514 GB, free: 15.93 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 0.0001613/0.7784, allocations: 53.52 kB / 1.514 GB, free: 15.87 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/0.7785, allocations: 130.7 kB / 1.515 GB, free: 15.73 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.779, allocations: 369.7 kB / 1.515 GB, free: 15.36 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.7791, allocations: 29.7 kB / 1.515 GB, free: 15.32 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.7792, allocations: 163.9 kB / 1.515 GB, free: 15.16 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.7792, allocations: 4 kB / 1.515 GB, free: 15.16 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.7793, allocations: 21.7 kB / 1.515 GB, free: 15.13 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.7795, allocations: 330.8 kB / 1.515 GB, free: 14.8 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.7795, allocations: 12 kB / 1.515 GB, free: 14.79 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.7795, allocations: 32.23 kB / 1.516 GB, free: 14.74 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.7796, allocations: 52.22 kB / 1.516 GB, free: 14.67 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7796, allocations: 4 kB / 1.516 GB, free: 14.67 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002398/0.7799, allocations: 89.36 kB / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.7799, allocations: 8 kB / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7799, allocations: 0 / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.7799, allocations: 4 kB / 1.516 GB, free: 14.56 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.78, allocations: 7.938 kB / 1.516 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.78, allocations: 4.156 kB / 1.516 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.7801, allocations: 31.73 kB / 1.516 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.7802, allocations: 0 / 1.516 GB, free: 14.52 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.0002233/0.7804, allocations: 217.6 kB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.7805, allocations: 132.7 kB / 1.516 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.7806, allocations: 126.9 kB / 1.516 GB, free: 14.03 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-05/0.7807, allocations: 184.3 kB / 1.516 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001114/0.7808, allocations: 188.2 kB / 1.517 GB, free: 13.65 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001043/0.7809, allocations: 180.3 kB / 1.517 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.7814, allocations: 464.1 kB / 1.517 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.478e-05/0.7814, allocations: 104.9 kB / 1.517 GB, free: 12.85 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.741e-05/0.7815, allocations: 105 kB / 1.517 GB, free: 12.74 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.7816, allocations: 188.2 kB / 1.517 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.582e-05/0.7817, allocations: 176.3 kB / 1.518 GB, free: 12.37 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001111/0.7818, allocations: 180.2 kB / 1.518 GB, free: 12.19 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001069/0.7819, allocations: 184.2 kB / 1.518 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.7822, allocations: 339.6 kB / 1.518 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.7824, allocations: 140.7 kB / 1.518 GB, free: 11.5 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.7825, allocations: 188.2 kB / 1.519 GB, free: 11.31 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.7826, allocations: 101 kB / 1.519 GB, free: 11.2 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7827, allocations: 180.2 kB / 1.519 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.7828, allocations: 112.9 kB / 1.519 GB, free: 10.9 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003335/0.7831, allocations: 271.2 kB / 1.519 GB, free: 10.64 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.7831, allocations: 4 kB / 1.519 GB, free: 10.64 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000288/0.7834, allocations: 24 kB / 1.519 GB, free: 10.61 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.0001754/0.7836, allocations: 170.5 kB / 1.519 GB, free: 10.43 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.7837, allocations: 11.94 kB / 1.519 GB, free: 10.42 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7837, allocations: 0 / 1.519 GB, free: 10.42 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 7.584e-06/0.7837, allocations: 12 kB / 1.519 GB, free: 10.41 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009126/0.7846, allocations: 0.5519 MB / 1.52 GB, free: 9.855 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008166/0.7854, allocations: 451.4 kB / 1.52 GB, free: 9.391 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.786, allocations: 0.748 MB / 1.521 GB, free: 8.617 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.7861, allocations: 34.97 kB / 1.521 GB, free: 8.582 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.7861, allocations: 19.44 kB / 1.521 GB, free: 8.562 MB / 1.217 GB Notification: Performance of SimCode: time 1.032e-06/0.7862, allocations: 0 / 1.521 GB, free: 8.562 MB / 1.217 GB Notification: Performance of Templates: time 0.009029/0.7952, allocations: 3.221 MB / 1.524 GB, free: 5.391 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.811848393175751]