Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.001938/0.001938, allocations: 111 kB / 16.45 MB, free: 6.488 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.00243/0.00243, allocations: 216.2 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.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.475/3.475, allocations: 0.4899 GB / 0.7915 GB, free: 33.21 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.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") [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.002381/0.002381, allocations: 65.44 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4036, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1984/0.602, allocations: 151.4 MB / 1.469 GB, free: 10.83 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005747/0.6078, allocations: 4.699 MB / 1.474 GB, free: 6.117 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.6081, allocations: 7.938 kB / 1.474 GB, free: 6.109 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006064/0.6087, allocations: 170.8 kB / 1.474 GB, free: 5.941 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.609, allocations: 91.44 kB / 1.474 GB, free: 5.852 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.6091, allocations: 59.92 kB / 1.474 GB, free: 5.793 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.6095, allocations: 290.8 kB / 1.474 GB, free: 5.508 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.6098, allocations: 82.64 kB / 1.474 GB, free: 5.426 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.61, allocations: 107.6 kB / 1.474 GB, free: 5.32 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.6102, allocations: 139.5 kB / 1.475 GB, free: 5.184 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.6102, allocations: 8 kB / 1.475 GB, free: 5.176 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.688e-05/0.6103, allocations: 12 kB / 1.475 GB, free: 5.164 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.6103, allocations: 27.86 kB / 1.475 GB, free: 5.137 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.6104, allocations: 79.55 kB / 1.475 GB, free: 5.059 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.6106, allocations: 159.2 kB / 1.475 GB, free: 4.902 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6106, allocations: 0 / 1.475 GB, free: 4.902 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6106, allocations: 0 / 1.475 GB, free: 4.902 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.6106, allocations: 0 / 1.475 GB, free: 4.902 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005375/0.6112, allocations: 454.7 kB / 1.475 GB, free: 4.41 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.6112, allocations: 11.98 kB / 1.475 GB, free: 4.398 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.6113, allocations: 20.84 kB / 1.475 GB, free: 4.379 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.6116, allocations: 260.5 kB / 1.476 GB, free: 4.086 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.6117, allocations: 12.38 kB / 1.476 GB, free: 4.074 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.6117, allocations: 19.94 kB / 1.476 GB, free: 4.055 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.612, allocations: 208.5 kB / 1.476 GB, free: 3.805 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.612, allocations: 3.938 kB / 1.476 GB, free: 3.801 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.612, allocations: 8 kB / 1.476 GB, free: 3.793 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.612, allocations: 4 kB / 1.476 GB, free: 3.789 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.6122, allocations: 79.78 kB / 1.476 GB, free: 3.711 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.6133, allocations: 1.575 MB / 1.477 GB, free: 2.039 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.6134, allocations: 181 kB / 1.478 GB, free: 1.852 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/0.6135, allocations: 80.14 kB / 1.478 GB, free: 1.77 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.6135, allocations: 75.28 kB / 1.478 GB, free: 1.695 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/0.6135, allocations: 105.8 kB / 1.478 GB, free: 1.582 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.6135, allocations: 0 / 1.478 GB, free: 1.582 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 8.646e-05/0.6136, allocations: 41.61 kB / 1.478 GB, free: 1.535 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.6137, allocations: 134.7 kB / 1.478 GB, free: 1.391 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.614, allocations: 250.6 kB / 1.478 GB, free: 1.133 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.614, allocations: 25.7 kB / 1.478 GB, free: 1.102 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.6141, allocations: 151.8 kB / 1.478 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.6141, allocations: 3.938 kB / 1.478 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.6141, allocations: 17.72 kB / 1.478 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6143, allocations: 326.8 kB / 1.479 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.6143, allocations: 11.98 kB / 1.479 GB, free: 0.582 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-05/0.6143, allocations: 46.02 kB / 1.479 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.975e-05/0.6144, allocations: 65.94 kB / 1.479 GB, free: 440 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6144, allocations: 3.938 kB / 1.479 GB, free: 436 kB / 1.17 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001602/0.6146, allocations: 93.34 kB / 1.479 GB, free: 336 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6146, allocations: 12.22 kB / 1.479 GB, free: 324 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.6146, allocations: 0 / 1.479 GB, free: 324 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-05/0.6146, allocations: 4 kB / 1.479 GB, free: 320 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.6147, allocations: 8 kB / 1.479 GB, free: 312 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.6147, allocations: 4 kB / 1.479 GB, free: 308 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.6148, allocations: 23.77 kB / 1.479 GB, free: 284 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.6148, allocations: 7.938 kB / 1.479 GB, free: 276 kB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.000127/0.6149, allocations: 203.9 kB / 1.479 GB, free: 64 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.615, allocations: 120.9 kB / 1.479 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.6151, allocations: 121.8 kB / 1.479 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.168e-05/0.6152, allocations: 180.3 kB / 1.48 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.531e-05/0.6152, allocations: 176.3 kB / 1.48 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.47e-05/0.6153, allocations: 180.2 kB / 1.48 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.6156, allocations: 457.1 kB / 1.48 GB, free: 14.76 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.825e-05/0.6157, allocations: 121 kB / 1.481 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.6157, allocations: 105 kB / 1.481 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.55e-05/0.6158, allocations: 176.4 kB / 1.481 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-05/0.6159, allocations: 188.2 kB / 1.481 GB, free: 14.15 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.7e-05/0.616, allocations: 180.3 kB / 1.481 GB, free: 13.97 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.902e-05/0.616, allocations: 184.2 kB / 1.481 GB, free: 13.78 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.6162, allocations: 331.5 kB / 1.482 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.6163, allocations: 190 kB / 1.482 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.71e-05/0.6164, allocations: 180.2 kB / 1.482 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.6165, allocations: 104.9 kB / 1.482 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.6166, allocations: 188.3 kB / 1.482 GB, free: 12.74 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.6167, allocations: 104.9 kB / 1.482 GB, free: 12.63 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001769/0.6169, allocations: 178 kB / 1.483 GB, free: 12.46 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6169, allocations: 0 / 1.483 GB, free: 12.46 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002577/0.6171, allocations: 20 kB / 1.483 GB, free: 12.44 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.0001684/0.6173, allocations: 181.7 kB / 1.483 GB, free: 12.25 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.12e-05/0.6174, allocations: 23.94 kB / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6174, allocations: 0 / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.6174, allocations: 0 / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/0.6181, allocations: 0.5007 MB / 1.483 GB, free: 11.73 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005517/0.6187, allocations: 330.3 kB / 1.484 GB, free: 11.38 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.619, allocations: 0.7163 MB / 1.484 GB, free: 10.63 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.887e-05/0.6191, allocations: 13.55 kB / 1.484 GB, free: 10.62 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.6191, allocations: 15.44 kB / 1.484 GB, free: 10.61 MB / 1.186 GB Notification: Performance of SimCode: time 3.21e-07/0.6191, allocations: 0 / 1.484 GB, free: 10.61 MB / 1.186 GB Notification: Performance of Templates: time 0.005082/0.6242, allocations: 1.639 MB / 1.486 GB, free: 8.992 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.901496417820454]