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.001527/0.001527, allocations: 100.5 kB / 16.45 MB, free: 6.504 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.001638/0.001638, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.396/3.396, allocations: 0.49 GB / 0.7916 GB, free: 33.32 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.002102/0.002102, allocations: 78.67 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3947, allocations: 176.1 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2331/0.6278, allocations: 177.5 MB / 1.495 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.6405, allocations: 9.584 MB / 1.504 GB, free: 7.016 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.641, allocations: 11.94 kB / 1.504 GB, free: 7.004 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.6422, allocations: 190.7 kB / 1.504 GB, free: 6.816 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.6426, allocations: 91.31 kB / 1.504 GB, free: 6.727 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.643, allocations: 67.91 kB / 1.504 GB, free: 6.66 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007667/0.6437, allocations: 330.7 kB / 1.505 GB, free: 6.336 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.6442, allocations: 152.7 kB / 1.505 GB, free: 6.184 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000521/0.6447, allocations: 163.4 kB / 1.505 GB, free: 6.023 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.645, allocations: 131.3 kB / 1.505 GB, free: 5.895 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.645, allocations: 20 kB / 1.505 GB, free: 5.875 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 5.639e-05/0.6451, allocations: 28 kB / 1.505 GB, free: 5.848 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.6452, allocations: 75.75 kB / 1.505 GB, free: 5.773 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.6454, allocations: 127.3 kB / 1.505 GB, free: 5.648 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.646, allocations: 306.5 kB / 1.506 GB, free: 5.348 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.646, allocations: 0 / 1.506 GB, free: 5.348 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.116e-06/0.646, allocations: 0 / 1.506 GB, free: 5.348 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.646, allocations: 0 / 1.506 GB, free: 5.348 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.000882/0.6469, allocations: 0.5104 MB / 1.506 GB, free: 4.789 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.647, allocations: 11.98 kB / 1.506 GB, free: 4.777 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.801e-05/0.647, allocations: 35.75 kB / 1.506 GB, free: 4.742 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.6475, allocations: 280.9 kB / 1.506 GB, free: 4.43 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.6476, allocations: 16.56 kB / 1.506 GB, free: 4.414 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.6476, allocations: 27.98 kB / 1.506 GB, free: 4.387 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/0.6482, allocations: 323.9 kB / 1.507 GB, free: 4.023 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.6482, allocations: 4 kB / 1.507 GB, free: 4.02 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.6483, allocations: 8 kB / 1.507 GB, free: 4.012 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.6483, allocations: 12 kB / 1.507 GB, free: 4 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.6485, allocations: 143.7 kB / 1.507 GB, free: 3.859 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.6504, allocations: 1.824 MB / 1.509 GB, free: 1.938 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.6505, allocations: 173.1 kB / 1.509 GB, free: 1.758 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.6506, allocations: 84.08 kB / 1.509 GB, free: 1.672 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.436e-05/0.6506, allocations: 79.22 kB / 1.509 GB, free: 1.594 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.6507, allocations: 105.8 kB / 1.509 GB, free: 1.48 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.6507, allocations: 0 / 1.509 GB, free: 1.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001025/0.6508, allocations: 65.45 kB / 1.509 GB, free: 1.41 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.6509, allocations: 126.7 kB / 1.509 GB, free: 1.273 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.6514, allocations: 373.7 kB / 1.51 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.6515, allocations: 25.7 kB / 1.51 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.6516, allocations: 167.9 kB / 1.51 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.6516, allocations: 0 / 1.51 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.6516, allocations: 17.72 kB / 1.51 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6518, allocations: 342.8 kB / 1.51 GB, free: 344 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.6518, allocations: 8 kB / 1.51 GB, free: 336 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.813e-05/0.6519, allocations: 36.28 kB / 1.51 GB, free: 284 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.555e-05/0.652, allocations: 44.23 kB / 1.51 GB, free: 224 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.652, allocations: 0 / 1.51 GB, free: 224 kB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001785/0.6522, allocations: 97.31 kB / 1.51 GB, free: 120 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6522, allocations: 8 kB / 1.51 GB, free: 112 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6522, allocations: 0 / 1.51 GB, free: 112 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.6522, allocations: 0 / 1.51 GB, free: 112 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.6523, allocations: 8 kB / 1.51 GB, free: 104 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.6523, allocations: 12.09 kB / 1.51 GB, free: 92 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.6524, allocations: 35.66 kB / 1.51 GB, free: 56 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.6524, allocations: 0 / 1.51 GB, free: 56 kB / 1.201 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.0002/0.6526, allocations: 209.1 kB / 1.511 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.6527, allocations: 132.8 kB / 1.511 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.6528, allocations: 130.9 kB / 1.511 GB, free: 15.57 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-05/0.6529, allocations: 188.3 kB / 1.511 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.511e-05/0.653, allocations: 176.3 kB / 1.511 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.182e-05/0.6531, allocations: 184.2 kB / 1.511 GB, free: 15.01 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.6535, allocations: 493.1 kB / 1.512 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.167e-05/0.6536, allocations: 108.9 kB / 1.512 GB, free: 14.36 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.838e-05/0.6536, allocations: 105 kB / 1.512 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.754e-05/0.6537, allocations: 180.3 kB / 1.512 GB, free: 14.06 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.6538, allocations: 184.3 kB / 1.512 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.618e-05/0.6539, allocations: 180.2 kB / 1.513 GB, free: 13.69 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001622/0.654, allocations: 184.2 kB / 1.513 GB, free: 13.5 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.6543, allocations: 335.6 kB / 1.513 GB, free: 13.15 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.6545, allocations: 213.8 kB / 1.513 GB, free: 12.92 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.6546, allocations: 176.3 kB / 1.514 GB, free: 12.74 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.6549, allocations: 112.9 kB / 1.514 GB, free: 12.62 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.655, allocations: 176.3 kB / 1.514 GB, free: 12.44 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.655, allocations: 113 kB / 1.514 GB, free: 12.32 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000352/0.6554, allocations: 271.2 kB / 1.514 GB, free: 12.06 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6554, allocations: 0 / 1.514 GB, free: 12.06 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003041/0.6557, allocations: 28 kB / 1.514 GB, free: 12.03 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.0003102/0.656, allocations: 170.5 kB / 1.514 GB, free: 11.86 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 9.987e-05/0.6561, allocations: 23.92 kB / 1.514 GB, free: 11.83 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6561, allocations: 0 / 1.514 GB, free: 11.83 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.6561, allocations: 4.312 kB / 1.514 GB, free: 11.83 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.6572, allocations: 0.5572 MB / 1.515 GB, free: 11.27 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008902/0.6581, allocations: 448.7 kB / 1.515 GB, free: 10.81 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.6585, allocations: 0.7558 MB / 1.516 GB, free: 10.03 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 8.921e-05/0.6586, allocations: 30.97 kB / 1.516 GB, free: 9.996 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.6586, allocations: 19.44 kB / 1.516 GB, free: 9.977 MB / 1.217 GB Notification: Performance of SimCode: time 3.71e-07/0.6586, allocations: 0 / 1.516 GB, free: 9.977 MB / 1.217 GB Notification: Performance of Templates: time 0.007823/0.6665, allocations: 3.205 MB / 1.519 GB, free: 6.816 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: 9.922211591619998]