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.001926/0.001926, 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.002478/0.002478, allocations: 213.8 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.441/3.441, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002104/0.002104, allocations: 67.09 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4237, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2299/0.6536, allocations: 153.7 MB / 1.477 GB, free: 6.738 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.6649, allocations: 8.647 MB / 1.486 GB, free: 14.06 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.6654, allocations: 15.88 kB / 1.486 GB, free: 14.05 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007612/0.6661, allocations: 194.7 kB / 1.486 GB, free: 13.86 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.6664, allocations: 99.31 kB / 1.486 GB, free: 13.76 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.6667, allocations: 59.92 kB / 1.486 GB, free: 13.7 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.6671, allocations: 330.6 kB / 1.486 GB, free: 13.38 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.6675, allocations: 141.2 kB / 1.486 GB, free: 13.23 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.6679, allocations: 167.4 kB / 1.487 GB, free: 13.07 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.668, allocations: 127.4 kB / 1.487 GB, free: 12.95 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.6681, allocations: 20 kB / 1.487 GB, free: 12.93 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 4.481e-05/0.6681, allocations: 24 kB / 1.487 GB, free: 12.9 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.6682, allocations: 83.73 kB / 1.487 GB, free: 12.82 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.6684, allocations: 103.5 kB / 1.487 GB, free: 12.72 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.6688, allocations: 294.6 kB / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6688, allocations: 0 / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.225e-06/0.6688, allocations: 0 / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.6688, allocations: 0 / 1.487 GB, free: 12.43 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.0006429/0.6694, allocations: 461.6 kB / 1.488 GB, free: 11.95 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.6695, allocations: 8.031 kB / 1.488 GB, free: 11.94 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.6695, allocations: 35.75 kB / 1.488 GB, free: 11.91 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.67, allocations: 210.4 kB / 1.488 GB, free: 11.68 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.67, allocations: 20.66 kB / 1.488 GB, free: 11.66 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.6701, allocations: 24 kB / 1.488 GB, free: 11.63 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.6706, allocations: 333.1 kB / 1.488 GB, free: 11.26 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.6706, allocations: 0 / 1.488 GB, free: 11.26 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.6707, allocations: 12 kB / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.6707, allocations: 8 kB / 1.488 GB, free: 11.24 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.6709, allocations: 151.6 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.6725, allocations: 1.633 MB / 1.49 GB, free: 9.383 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.6726, allocations: 169.1 kB / 1.49 GB, free: 9.207 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.6727, allocations: 84.14 kB / 1.49 GB, free: 9.121 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.858e-05/0.6727, allocations: 75.28 kB / 1.49 GB, free: 9.047 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.442e-05/0.6728, allocations: 113.8 kB / 1.49 GB, free: 8.926 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.6728, allocations: 0 / 1.49 GB, free: 8.926 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 8.663e-05/0.6729, allocations: 37.59 kB / 1.491 GB, free: 8.883 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.673, allocations: 130.7 kB / 1.491 GB, free: 8.742 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.6731, allocations: 164.6 kB / 1.491 GB, free: 8.566 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.6732, allocations: 29.7 kB / 1.491 GB, free: 8.531 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.6733, allocations: 188 kB / 1.491 GB, free: 8.344 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-06/0.6733, allocations: 0 / 1.491 GB, free: 8.344 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.6734, allocations: 21.7 kB / 1.491 GB, free: 8.316 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6735, allocations: 318.8 kB / 1.491 GB, free: 7.996 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.6735, allocations: 11.98 kB / 1.491 GB, free: 7.984 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.6736, allocations: 28.3 kB / 1.491 GB, free: 7.941 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.122e-05/0.6736, allocations: 52.23 kB / 1.491 GB, free: 7.875 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6736, allocations: 0 / 1.491 GB, free: 7.875 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001506/0.6738, allocations: 69.52 kB / 1.491 GB, free: 7.801 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6738, allocations: 7.938 kB / 1.491 GB, free: 7.793 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6738, allocations: 3.984 kB / 1.491 GB, free: 7.789 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.6738, allocations: 4 kB / 1.491 GB, free: 7.785 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.6739, allocations: 8 kB / 1.491 GB, free: 7.777 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.6739, allocations: 0 / 1.491 GB, free: 7.777 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.6739, allocations: 12.11 kB / 1.492 GB, free: 7.766 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.6739, allocations: 0 / 1.492 GB, free: 7.766 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.0001828/0.6741, allocations: 221.6 kB / 1.492 GB, free: 7.539 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.6742, allocations: 112.9 kB / 1.492 GB, free: 7.422 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.896e-05/0.6743, allocations: 117.4 kB / 1.492 GB, free: 7.297 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.555e-05/0.6744, allocations: 180.3 kB / 1.492 GB, free: 7.113 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.054e-05/0.6745, allocations: 184.3 kB / 1.492 GB, free: 6.926 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.962e-05/0.6746, allocations: 180.2 kB / 1.492 GB, free: 6.742 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.6749, allocations: 425 kB / 1.493 GB, free: 6.289 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.642e-05/0.6749, allocations: 112.9 kB / 1.493 GB, free: 6.172 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.675, allocations: 105 kB / 1.493 GB, free: 6.062 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.472e-05/0.6751, allocations: 180.3 kB / 1.493 GB, free: 5.879 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.6752, allocations: 192.1 kB / 1.493 GB, free: 5.684 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.598e-05/0.6753, allocations: 176.3 kB / 1.494 GB, free: 5.504 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.208e-05/0.6754, allocations: 184.2 kB / 1.494 GB, free: 5.316 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.6755, allocations: 311.7 kB / 1.494 GB, free: 4.988 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.6756, allocations: 116.8 kB / 1.494 GB, free: 4.867 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6757, allocations: 188.2 kB / 1.494 GB, free: 4.676 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.6758, allocations: 104.9 kB / 1.494 GB, free: 4.566 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.6759, allocations: 180.3 kB / 1.495 GB, free: 4.383 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.676, allocations: 101 kB / 1.495 GB, free: 4.277 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000103/0.6761, allocations: 131.5 kB / 1.495 GB, free: 4.148 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6761, allocations: 0 / 1.495 GB, free: 4.148 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002807/0.6764, allocations: 47.72 kB / 1.495 GB, free: 4.102 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.000169/0.6765, allocations: 174.5 kB / 1.495 GB, free: 3.918 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 8.438e-05/0.6766, allocations: 12 kB / 1.495 GB, free: 3.906 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6766, allocations: 0 / 1.495 GB, free: 3.906 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.6766, allocations: 3.938 kB / 1.495 GB, free: 3.902 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.6771, allocations: 461.7 kB / 1.496 GB, free: 3.449 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/0.6778, allocations: 425.2 kB / 1.496 GB, free: 3.008 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.678, allocations: 145.2 kB / 1.496 GB, free: 2.848 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.484e-05/0.678, allocations: 12.42 kB / 1.496 GB, free: 2.836 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.678, allocations: 11.44 kB / 1.496 GB, free: 2.824 MB / 1.186 GB Notification: Performance of SimCode: time 2.9e-07/0.678, allocations: 0 / 1.496 GB, free: 2.824 MB / 1.186 GB Notification: Performance of Templates: time 0.003525/0.6816, allocations: 0.6061 MB / 1.497 GB, free: 2.223 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 gbode -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.11626006300503]