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.001549/0.001549, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001741/0.001741, allocations: 208.9 kB / 23.04 MB, free: 4.863 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.096/3.096, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 177] 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.001959/0.001959, allocations: 67.14 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3446, allocations: 176.1 MB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1968/0.5414, allocations: 153.7 MB / 1.477 GB, free: 6.789 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.5519, allocations: 8.655 MB / 1.486 GB, free: 14.11 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.5522, allocations: 19.81 kB / 1.486 GB, free: 14.09 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006421/0.5529, allocations: 190.7 kB / 1.486 GB, free: 13.9 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.5531, allocations: 95.31 kB / 1.486 GB, free: 13.8 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.5533, allocations: 67.91 kB / 1.486 GB, free: 13.74 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.5538, allocations: 318.7 kB / 1.486 GB, free: 13.43 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.5541, allocations: 137.2 kB / 1.487 GB, free: 13.29 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003624/0.5545, allocations: 171.3 kB / 1.487 GB, free: 13.12 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.5546, allocations: 111.4 kB / 1.487 GB, free: 13.01 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.5547, allocations: 28 kB / 1.487 GB, free: 12.98 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.878e-05/0.5547, allocations: 20 kB / 1.487 GB, free: 12.96 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.452e-05/0.5548, allocations: 75.75 kB / 1.487 GB, free: 12.89 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.5549, allocations: 103.5 kB / 1.487 GB, free: 12.79 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.5553, allocations: 302.5 kB / 1.487 GB, free: 12.49 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5553, allocations: 4 kB / 1.487 GB, free: 12.49 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5553, allocations: 0 / 1.487 GB, free: 12.49 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.5553, allocations: 0 / 1.487 GB, free: 12.49 MB / 1.186 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.0005749/0.5559, allocations: 445.6 kB / 1.488 GB, free: 12.02 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5559, allocations: 8.031 kB / 1.488 GB, free: 12.02 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.556, allocations: 35.75 kB / 1.488 GB, free: 11.98 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.5564, allocations: 216.8 kB / 1.488 GB, free: 11.74 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.5564, allocations: 16.66 kB / 1.488 GB, free: 11.73 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.5565, allocations: 32 kB / 1.488 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.557, allocations: 329.1 kB / 1.488 GB, free: 11.33 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.557, allocations: 7.938 kB / 1.488 GB, free: 11.32 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.557, allocations: 15.98 kB / 1.488 GB, free: 11.3 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.557, allocations: 8 kB / 1.488 GB, free: 11.3 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.5572, allocations: 151.6 kB / 1.489 GB, free: 11.15 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.5586, allocations: 1.621 MB / 1.49 GB, free: 9.449 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.5587, allocations: 169.1 kB / 1.49 GB, free: 9.273 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.5588, allocations: 84.08 kB / 1.49 GB, free: 9.188 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.5588, allocations: 75.28 kB / 1.49 GB, free: 9.113 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.979e-05/0.5589, allocations: 113.8 kB / 1.491 GB, free: 8.992 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5589, allocations: 4 kB / 1.491 GB, free: 8.988 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 7.893e-05/0.559, allocations: 37.66 kB / 1.491 GB, free: 8.945 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.559, allocations: 126.7 kB / 1.491 GB, free: 8.809 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.5592, allocations: 172.1 kB / 1.491 GB, free: 8.625 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.5592, allocations: 25.7 kB / 1.491 GB, free: 8.594 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5594, allocations: 192 kB / 1.491 GB, free: 8.402 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.5594, allocations: 0 / 1.491 GB, free: 8.402 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.5594, allocations: 21.72 kB / 1.491 GB, free: 8.375 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.5596, allocations: 318.8 kB / 1.491 GB, free: 8.055 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.5596, allocations: 7.938 kB / 1.491 GB, free: 8.047 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.963e-05/0.5597, allocations: 40.28 kB / 1.491 GB, free: 7.992 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.08e-05/0.5597, allocations: 44.23 kB / 1.491 GB, free: 7.934 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5597, allocations: 0 / 1.491 GB, free: 7.934 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001444/0.5599, allocations: 73.52 kB / 1.492 GB, free: 7.855 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5599, allocations: 7.938 kB / 1.492 GB, free: 7.848 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5599, allocations: 4.109 kB / 1.492 GB, free: 7.844 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5599, allocations: 8.094 kB / 1.492 GB, free: 7.836 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.56, allocations: 8 kB / 1.492 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.56, allocations: 3.984 kB / 1.492 GB, free: 7.824 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/0.56, allocations: 7.953 kB / 1.492 GB, free: 7.816 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.56, allocations: 4 kB / 1.492 GB, free: 7.812 MB / 1.186 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.0001597/0.5602, allocations: 205.7 kB / 1.492 GB, free: 7.602 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.5603, allocations: 120.8 kB / 1.492 GB, free: 7.477 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.04e-05/0.5603, allocations: 113.5 kB / 1.492 GB, free: 7.355 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.7e-05/0.5604, allocations: 188.3 kB / 1.492 GB, free: 7.164 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.798e-05/0.5605, allocations: 180.2 kB / 1.492 GB, free: 6.98 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.26e-05/0.5606, allocations: 184.3 kB / 1.493 GB, free: 6.793 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.5609, allocations: 420.8 kB / 1.493 GB, free: 6.344 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-05/0.561, allocations: 109 kB / 1.493 GB, free: 6.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.561, allocations: 104.9 kB / 1.493 GB, free: 6.121 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-05/0.5611, allocations: 184.3 kB / 1.493 GB, free: 5.934 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-05/0.5612, allocations: 180.3 kB / 1.493 GB, free: 5.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.843e-05/0.5613, allocations: 184.2 kB / 1.494 GB, free: 5.562 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.154e-05/0.5613, allocations: 180.3 kB / 1.494 GB, free: 5.379 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.5615, allocations: 315.7 kB / 1.494 GB, free: 5.047 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.5616, allocations: 112.9 kB / 1.494 GB, free: 4.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.58e-05/0.5617, allocations: 188.1 kB / 1.494 GB, free: 4.738 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.5618, allocations: 109 kB / 1.495 GB, free: 4.625 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.5619, allocations: 188.2 kB / 1.495 GB, free: 4.434 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.5619, allocations: 101 kB / 1.495 GB, free: 4.328 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001029/0.562, allocations: 119.2 kB / 1.495 GB, free: 4.211 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.562, allocations: 0 / 1.495 GB, free: 4.211 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002951/0.5623, allocations: 43.78 kB / 1.495 GB, free: 4.168 MB / 1.186 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.0001497/0.5624, allocations: 170.5 kB / 1.495 GB, free: 3.988 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.5625, allocations: 19.92 kB / 1.495 GB, free: 3.969 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5625, allocations: 4.312 kB / 1.495 GB, free: 3.965 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.5625, allocations: 0 / 1.495 GB, free: 3.965 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.563, allocations: 463.6 kB / 1.496 GB, free: 3.508 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.5636, allocations: 458.8 kB / 1.496 GB, free: 3.027 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.5638, allocations: 145.2 kB / 1.496 GB, free: 2.867 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.5638, allocations: 11.44 kB / 1.496 GB, free: 2.855 MB / 1.186 GB Notification: Performance of SimCode: time 2.61e-07/0.5638, allocations: 0 / 1.496 GB, free: 2.855 MB / 1.186 GB Notification: Performance of Templates: time 0.003574/0.5674, allocations: 1.779 MB / 1.498 GB, free: 1.07 MB / 1.186 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/jenkins1/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: 11.102937726071104]