Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.001606/0.001606, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001933/0.001933, allocations: 204 kB / 20.09 MB, free: 2.977 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.998/2.998, allocations: 0.49 GB / 0.7923 GB, free: 1.488 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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [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.002077/0.002077, allocations: 63.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2077/1.29, allocations: 151.4 MB / 1.47 GB, free: 10.66 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006209/1.296, allocations: 4.712 MB / 1.474 GB, free: 6.867 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/1.296, allocations: 11.47 kB / 1.475 GB, free: 6.863 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000575/1.297, allocations: 167.4 kB / 1.475 GB, free: 6.715 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003854/1.297, allocations: 82.92 kB / 1.475 GB, free: 6.648 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/1.298, allocations: 65.52 kB / 1.475 GB, free: 6.594 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004789/1.298, allocations: 302.2 kB / 1.475 GB, free: 6.418 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002834/1.298, allocations: 123.8 kB / 1.475 GB, free: 6.344 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/1.299, allocations: 113 kB / 1.475 GB, free: 6.281 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/1.299, allocations: 159.3 kB / 1.475 GB, free: 6.188 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/1.299, allocations: 15.88 kB / 1.475 GB, free: 6.188 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 3.344e-05/1.299, allocations: 15.94 kB / 1.476 GB, free: 6.188 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 9.444e-05/1.299, allocations: 63.83 kB / 1.476 GB, free: 6.145 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/1.299, allocations: 106.1 kB / 1.476 GB, free: 6.074 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/1.299, allocations: 237.8 kB / 1.476 GB, free: 5.906 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.299, allocations: 0 / 1.476 GB, free: 5.906 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.863e-06/1.299, allocations: 4 kB / 1.476 GB, free: 5.902 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.3, allocations: 1.188 kB / 1.476 GB, free: 5.902 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006116/1.3, allocations: 498.4 kB / 1.476 GB, free: 5.426 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.3, allocations: 8.281 kB / 1.476 GB, free: 5.426 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/1.3, allocations: 25.67 kB / 1.476 GB, free: 5.414 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/1.301, allocations: 269.2 kB / 1.477 GB, free: 5.148 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/1.301, allocations: 20.44 kB / 1.477 GB, free: 5.137 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/1.301, allocations: 22.78 kB / 1.477 GB, free: 5.129 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/1.301, allocations: 302.9 kB / 1.477 GB, free: 4.863 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.301, allocations: 5.172 kB / 1.477 GB, free: 4.859 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/1.301, allocations: 15.47 kB / 1.477 GB, free: 4.848 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/1.301, allocations: 6.938 kB / 1.477 GB, free: 4.848 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/1.301, allocations: 121.3 kB / 1.477 GB, free: 4.789 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/1.303, allocations: 1.98 MB / 1.479 GB, free: 2.836 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/1.303, allocations: 166.5 kB / 1.479 GB, free: 2.664 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/1.303, allocations: 85.39 kB / 1.479 GB, free: 2.578 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/1.303, allocations: 75.28 kB / 1.479 GB, free: 2.504 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.467e-05/1.303, allocations: 123 kB / 1.479 GB, free: 2.375 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/1.303, allocations: 0 / 1.479 GB, free: 2.375 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.0001003/1.304, allocations: 52.66 kB / 1.48 GB, free: 2.328 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/1.304, allocations: 126.7 kB / 1.48 GB, free: 2.191 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/1.304, allocations: 331.5 kB / 1.48 GB, free: 1.973 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/1.304, allocations: 25.7 kB / 1.48 GB, free: 1.941 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/1.304, allocations: 161.3 kB / 1.48 GB, free: 1.793 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.521e-06/1.304, allocations: 5.312 kB / 1.48 GB, free: 1.789 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/1.304, allocations: 26.64 kB / 1.48 GB, free: 1.762 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.304, allocations: 333.1 kB / 1.481 GB, free: 1.434 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/1.304, allocations: 7.906 kB / 1.481 GB, free: 1.43 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.705e-05/1.305, allocations: 59.52 kB / 1.481 GB, free: 1.355 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.616e-05/1.305, allocations: 72.27 kB / 1.481 GB, free: 1.273 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.305, allocations: 0 / 1.481 GB, free: 1.273 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001973/1.305, allocations: 105.5 kB / 1.481 GB, free: 1.203 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.305, allocations: 4.969 kB / 1.481 GB, free: 1.203 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/1.305, allocations: 2.625 kB / 1.481 GB, free: 1.203 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/1.305, allocations: 10.61 kB / 1.481 GB, free: 1.195 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/1.305, allocations: 14.97 kB / 1.481 GB, free: 1.191 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.305, allocations: 2.438 kB / 1.481 GB, free: 1.191 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.38e-05/1.305, allocations: 27.92 kB / 1.481 GB, free: 1.172 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/1.305, allocations: 7.906 kB / 1.481 GB, free: 1.168 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001599/1.305, allocations: 214.2 kB / 1.481 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/1.305, allocations: 128 kB / 1.481 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.002e-05/1.305, allocations: 131.2 kB / 1.481 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.936e-05/1.305, allocations: 181.5 kB / 1.481 GB, free: 0.5273 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.825e-05/1.306, allocations: 184.2 kB / 1.482 GB, free: 348 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.417e-05/1.306, allocations: 177.4 kB / 1.482 GB, free: 164 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/1.306, allocations: 479.4 kB / 1.482 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.008e-05/1.306, allocations: 106.3 kB / 1.482 GB, free: 15.55 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/1.306, allocations: 101 kB / 1.482 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-05/1.306, allocations: 185.1 kB / 1.483 GB, free: 15.26 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-05/1.306, allocations: 189.7 kB / 1.483 GB, free: 15.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.85e-05/1.306, allocations: 185.3 kB / 1.483 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.943e-05/1.306, allocations: 181.4 kB / 1.483 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/1.307, allocations: 329.5 kB / 1.483 GB, free: 14.37 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/1.307, allocations: 209.4 kB / 1.484 GB, free: 14.14 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/1.307, allocations: 185.5 kB / 1.484 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/1.307, allocations: 102 kB / 1.484 GB, free: 13.85 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/1.307, allocations: 185.7 kB / 1.484 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/1.307, allocations: 101 kB / 1.484 GB, free: 13.56 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002711/1.308, allocations: 240.8 kB / 1.484 GB, free: 13.41 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.31e-07/1.308, allocations: 3.938 kB / 1.484 GB, free: 13.4 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002824/1.308, allocations: 28.22 kB / 1.484 GB, free: 13.4 MB / 1.17 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.0001686/1.308, allocations: 171.9 kB / 1.485 GB, free: 13.24 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001115/1.308, allocations: 24.45 kB / 1.485 GB, free: 13.23 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.308, allocations: 1.219 kB / 1.485 GB, free: 13.23 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/1.308, allocations: 3.938 kB / 1.485 GB, free: 13.22 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007823/1.309, allocations: 0.5125 MB / 1.485 GB, free: 12.74 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/1.31, allocations: 434.6 kB / 1.486 GB, free: 12.39 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/1.31, allocations: 0.7523 MB / 1.486 GB, free: 11.65 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/1.31, allocations: 18.5 kB / 1.486 GB, free: 11.64 MB / 1.17 GB Notification: Performance of SimCode: time 4.91e-07/1.31, allocations: 0 / 1.486 GB, free: 11.64 MB / 1.17 GB Notification: Performance of Templates: time 0.005378/1.315, allocations: 2.626 MB / 1.489 GB, free: 10.29 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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: 12.627455125999404]