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.001777/0.001777, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002201/0.002201, allocations: 213.4 kB / 22.99 MB, free: 4.957 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.627/1.627, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.623/3.623, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002117/0.002117, allocations: 66.17 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.5004, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2343/0.7347, allocations: 153.7 MB / 1.477 GB, free: 6.691 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.7459, allocations: 8.658 MB / 1.486 GB, free: 14 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005994/0.7465, allocations: 11.94 kB / 1.486 GB, free: 13.99 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008819/0.7474, allocations: 198.6 kB / 1.486 GB, free: 13.8 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004112/0.7478, allocations: 91.36 kB / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.7481, allocations: 67.86 kB / 1.486 GB, free: 13.64 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005787/0.7487, allocations: 326.7 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004617/0.7491, allocations: 133.2 kB / 1.486 GB, free: 13.19 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005048/0.7496, allocations: 171.4 kB / 1.487 GB, free: 13.02 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.7499, allocations: 131.3 kB / 1.487 GB, free: 12.89 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.7499, allocations: 24 kB / 1.487 GB, free: 12.87 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 4.763e-05/0.75, allocations: 20 kB / 1.487 GB, free: 12.85 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.7501, allocations: 75.77 kB / 1.487 GB, free: 12.77 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.7502, allocations: 103.5 kB / 1.487 GB, free: 12.67 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.7507, allocations: 306.5 kB / 1.487 GB, free: 12.37 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.7508, allocations: 0 / 1.487 GB, free: 12.37 MB / 1.186 GB Notification: Performance of FrontEnd: time 4.258e-06/0.7508, allocations: 3.938 kB / 1.487 GB, free: 12.37 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.7508, allocations: 0 / 1.487 GB, free: 12.37 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.0008388/0.7516, allocations: 441.7 kB / 1.488 GB, free: 11.91 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.7517, allocations: 12.03 kB / 1.488 GB, free: 11.89 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.7518, allocations: 35.69 kB / 1.488 GB, free: 11.86 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006164/0.7524, allocations: 226.5 kB / 1.488 GB, free: 11.61 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.7524, allocations: 20.66 kB / 1.488 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.7525, allocations: 24 kB / 1.488 GB, free: 11.57 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/0.7531, allocations: 321.2 kB / 1.488 GB, free: 11.21 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.7531, allocations: 7.938 kB / 1.488 GB, free: 11.2 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.7531, allocations: 12 kB / 1.488 GB, free: 11.19 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.7531, allocations: 7.984 kB / 1.488 GB, free: 11.18 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.7534, allocations: 151.7 kB / 1.488 GB, free: 11.04 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.7551, allocations: 1.625 MB / 1.49 GB, free: 9.332 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.7552, allocations: 173.1 kB / 1.49 GB, free: 9.152 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.7553, allocations: 80.14 kB / 1.49 GB, free: 9.07 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.674e-05/0.7553, allocations: 75.28 kB / 1.49 GB, free: 8.996 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.063e-05/0.7554, allocations: 113.8 kB / 1.49 GB, free: 8.875 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.7554, allocations: 0 / 1.49 GB, free: 8.875 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001138/0.7555, allocations: 37.59 kB / 1.49 GB, free: 8.832 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.7556, allocations: 126.7 kB / 1.491 GB, free: 8.695 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.7559, allocations: 172.2 kB / 1.491 GB, free: 8.512 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.7559, allocations: 25.7 kB / 1.491 GB, free: 8.48 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.7561, allocations: 196 kB / 1.491 GB, free: 8.285 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-06/0.7561, allocations: 0 / 1.491 GB, free: 8.285 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.7561, allocations: 17.83 kB / 1.491 GB, free: 8.262 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.7563, allocations: 326.8 kB / 1.491 GB, free: 7.934 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.7563, allocations: 0 / 1.491 GB, free: 7.934 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.584e-05/0.7564, allocations: 40.28 kB / 1.491 GB, free: 7.879 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.221e-05/0.7564, allocations: 48.17 kB / 1.491 GB, free: 7.816 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7564, allocations: 0 / 1.491 GB, free: 7.816 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.7566, allocations: 69.58 kB / 1.491 GB, free: 7.742 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.7567, allocations: 7.938 kB / 1.491 GB, free: 7.734 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7567, allocations: 4 kB / 1.491 GB, free: 7.73 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.7567, allocations: 128 / 1.491 GB, free: 7.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.7568, allocations: 19.92 kB / 1.492 GB, free: 7.711 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.7568, allocations: 4.141 kB / 1.492 GB, free: 7.707 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.7568, allocations: 11.95 kB / 1.492 GB, free: 7.695 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.7568, allocations: 4 kB / 1.492 GB, free: 7.691 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.0001869/0.757, allocations: 209.6 kB / 1.492 GB, free: 7.477 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.7571, allocations: 116.9 kB / 1.492 GB, free: 7.355 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.444e-05/0.7572, allocations: 117.4 kB / 1.492 GB, free: 7.23 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.918e-05/0.7573, allocations: 184.3 kB / 1.492 GB, free: 7.043 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000107/0.7574, allocations: 184.1 kB / 1.492 GB, free: 6.855 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.639e-05/0.7575, allocations: 180.3 kB / 1.492 GB, free: 6.672 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.7578, allocations: 420.8 kB / 1.493 GB, free: 6.223 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.034e-05/0.7579, allocations: 104.9 kB / 1.493 GB, free: 6.113 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/0.7579, allocations: 113 kB / 1.493 GB, free: 5.996 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.758, allocations: 184.2 kB / 1.493 GB, free: 5.809 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.09e-05/0.7581, allocations: 180.2 kB / 1.493 GB, free: 5.625 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-05/0.7582, allocations: 180.3 kB / 1.494 GB, free: 5.441 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.995e-05/0.7583, allocations: 184.2 kB / 1.494 GB, free: 5.254 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.7585, allocations: 311.7 kB / 1.494 GB, free: 4.926 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.7586, allocations: 112.9 kB / 1.494 GB, free: 4.809 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.7587, allocations: 184.2 kB / 1.494 GB, free: 4.621 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.7588, allocations: 108.9 kB / 1.494 GB, free: 4.508 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.7589, allocations: 180.3 kB / 1.495 GB, free: 4.324 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.7589, allocations: 108.9 kB / 1.495 GB, free: 4.211 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001158/0.759, allocations: 119.2 kB / 1.495 GB, free: 4.094 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.759, allocations: 0 / 1.495 GB, free: 4.094 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000271/0.7593, allocations: 43.78 kB / 1.495 GB, free: 4.051 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.0001814/0.7595, allocations: 178.5 kB / 1.495 GB, free: 3.863 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.7596, allocations: 15.88 kB / 1.495 GB, free: 3.848 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.7596, allocations: 4 kB / 1.495 GB, free: 3.844 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.7596, allocations: 4 kB / 1.495 GB, free: 3.84 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.7601, allocations: 464 kB / 1.496 GB, free: 3.383 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.7609, allocations: 421.1 kB / 1.496 GB, free: 2.945 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.7611, allocations: 145.2 kB / 1.496 GB, free: 2.785 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.831e-05/0.7611, allocations: 8.422 kB / 1.496 GB, free: 2.777 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.7611, allocations: 11.44 kB / 1.496 GB, free: 2.766 MB / 1.186 GB Notification: Performance of SimCode: time 3e-07/0.7611, allocations: 0 / 1.496 GB, free: 2.766 MB / 1.186 GB Notification: Performance of Templates: time 0.00409/0.7652, allocations: 0.61 MB / 1.497 GB, free: 2.16 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 -s cvode -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: 10.683925727993483]