Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.001301/0.001301, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001465/0.001465, allocations: 215.2 kB / 23.01 MB, free: 4.609 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.177/3.177, allocations: 0.505 GB / 0.8108 GB, free: 22.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [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.002044/0.002044, allocations: 66.66 kB / 1.178 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3629, allocations: 180.2 MB / 1.354 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002678/0.3656, allocations: 1.531 MB / 1.356 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1602/0.5258, allocations: 135.3 MB / 1.488 GB, free: 14.74 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.5259, allocations: 0 / 1.488 GB, free: 14.74 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.5259, allocations: 3.938 kB / 1.488 GB, free: 14.74 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 5.974e-05/0.526, allocations: 11.86 kB / 1.488 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.5263, allocations: 71.66 kB / 1.488 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.5264, allocations: 59.78 kB / 1.488 GB, free: 14.6 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.5265, allocations: 11.98 kB / 1.488 GB, free: 14.59 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.5266, allocations: 23.92 kB / 1.488 GB, free: 14.56 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.5266, allocations: 23.91 kB / 1.488 GB, free: 14.54 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.5267, allocations: 4 kB / 1.488 GB, free: 14.54 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.5268, allocations: 27.92 kB / 1.488 GB, free: 14.51 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.5268, allocations: 15.94 kB / 1.488 GB, free: 14.49 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.5268, allocations: 19.92 kB / 1.488 GB, free: 14.47 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.527, allocations: 63.67 kB / 1.488 GB, free: 14.41 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.527, allocations: 4 kB / 1.488 GB, free: 14.41 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.283e-06/0.527, allocations: 4 kB / 1.488 GB, free: 14.4 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.527, allocations: 0 / 1.488 GB, free: 14.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005427/0.5275, allocations: 300 kB / 1.488 GB, free: 14.08 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.5276, allocations: 8.031 kB / 1.488 GB, free: 14.07 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.5277, allocations: 12.89 kB / 1.488 GB, free: 14.06 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.5278, allocations: 122.4 kB / 1.488 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.5279, allocations: 4.375 kB / 1.488 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.5279, allocations: 4.375 kB / 1.488 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.5281, allocations: 70.22 kB / 1.488 GB, free: 13.83 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.5281, allocations: 192 / 1.488 GB, free: 13.83 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5281, allocations: 3.938 kB / 1.488 GB, free: 13.83 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5281, allocations: 4 kB / 1.488 GB, free: 13.82 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.5284, allocations: 75.86 kB / 1.489 GB, free: 13.75 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.5288, allocations: 259.8 kB / 1.489 GB, free: 13.45 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.529, allocations: 62.47 kB / 1.489 GB, free: 13.38 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.5292, allocations: 36.92 kB / 1.489 GB, free: 13.34 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.5292, allocations: 7.938 kB / 1.489 GB, free: 13.34 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5292, allocations: 34.55 kB / 1.489 GB, free: 13.29 MB / 1.186 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5292, allocations: 0 / 1.489 GB, free: 13.29 MB / 1.186 GB Notification: Performance of matching and sorting (n=3): time 0.0005117/0.5297, allocations: 133.6 kB / 1.489 GB, free: 13.16 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.5298, allocations: 51.41 kB / 1.489 GB, free: 13.09 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.5299, allocations: 117.8 kB / 1.489 GB, free: 12.97 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.5299, allocations: 25.7 kB / 1.489 GB, free: 12.94 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.5299, allocations: 96.08 kB / 1.489 GB, free: 12.84 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.53, allocations: 3.953 kB / 1.489 GB, free: 12.84 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.53, allocations: 17.72 kB / 1.489 GB, free: 12.81 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5301, allocations: 318.8 kB / 1.49 GB, free: 12.49 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.5303, allocations: 35.97 kB / 1.49 GB, free: 12.46 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.5304, allocations: 35.89 kB / 1.49 GB, free: 12.42 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.5307, allocations: 64.8 kB / 1.49 GB, free: 12.36 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5307, allocations: 4 kB / 1.49 GB, free: 12.35 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003327/0.531, allocations: 105.6 kB / 1.49 GB, free: 12.24 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.531, allocations: 4 kB / 1.49 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.531, allocations: 3.984 kB / 1.49 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.531, allocations: 4 kB / 1.49 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.5312, allocations: 11.98 kB / 1.49 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.5312, allocations: 0 / 1.49 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.5313, allocations: 15.98 kB / 1.49 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.5313, allocations: 0 / 1.49 GB, free: 12.2 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 8.719e-05/0.5313, allocations: 126.3 kB / 1.49 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.5314, allocations: 3.984 kB / 1.49 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.5314, allocations: 12 kB / 1.49 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5314, allocations: 0 / 1.49 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5314, allocations: 0 / 1.49 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5314, allocations: 0 / 1.49 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.5316, allocations: 156.6 kB / 1.49 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5316, allocations: 0 / 1.49 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.952e-05/0.5317, allocations: 19.86 kB / 1.49 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5317, allocations: 0 / 1.49 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.5317, allocations: 8 kB / 1.49 GB, free: 11.83 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.5317, allocations: 0 / 1.49 GB, free: 11.83 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5317, allocations: 0 / 1.49 GB, free: 11.83 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.5321, allocations: 199.4 kB / 1.49 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.5321, allocations: 15.89 kB / 1.49 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.5321, allocations: 3.938 kB / 1.49 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5322, allocations: 11.98 kB / 1.49 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.5323, allocations: 3.984 kB / 1.49 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.5323, allocations: 4 kB / 1.49 GB, free: 11.58 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.741e-05/0.5323, allocations: 99.27 kB / 1.491 GB, free: 11.48 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5323, allocations: 0 / 1.491 GB, free: 11.48 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002225/0.5325, allocations: 8 kB / 1.491 GB, free: 11.47 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 (3): * Single equations (assignments): 3 * 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.0001042/0.5327, allocations: 91.25 kB / 1.491 GB, free: 11.38 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.533, allocations: 68.3 kB / 1.491 GB, free: 11.31 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.533, allocations: 4 kB / 1.491 GB, free: 11.3 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.5331, allocations: 35.91 kB / 1.491 GB, free: 11.27 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.5334, allocations: 16.11 kB / 1.491 GB, free: 11.25 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.5338, allocations: 173.9 kB / 1.491 GB, free: 11.05 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.5341, allocations: 0.6846 MB / 1.492 GB, free: 10.34 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.5341, allocations: 11.44 kB / 1.492 GB, free: 10.33 MB / 1.186 GB Notification: Performance of SimCode: time 3.5e-07/0.5341, allocations: 0 / 1.492 GB, free: 10.33 MB / 1.186 GB Notification: Performance of Templates: time 0.002303/0.5364, allocations: 0.8696 MB / 1.492 GB, free: 9.457 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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: 11.335254156991141]