Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001088/0.001088, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.002569, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001046/0.001046, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002375, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09091/1.093, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.927/1.927, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4866/2.413, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.834e-05, allocations: 5.406 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002452/0.00247, allocations: 1.591 MB / 0.7309 GB, free: 2.949 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1172/0.1196, allocations: 127.6 MB / 0.8554 GB, free: 3.125 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.1197, allocations: 0 / 0.8554 GB, free: 3.125 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.1197, allocations: 7.922 kB / 0.8555 GB, free: 3.117 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.1198, allocations: 7.938 kB / 0.8555 GB, free: 3.109 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.12, allocations: 71.59 kB / 0.8555 GB, free: 3.039 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.185e-05/0.1201, allocations: 51.8 kB / 0.8556 GB, free: 2.988 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.1202, allocations: 19.97 kB / 0.8556 GB, free: 2.969 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.1203, allocations: 31.91 kB / 0.8556 GB, free: 2.938 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.1203, allocations: 19.92 kB / 0.8557 GB, free: 2.918 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1203, allocations: 4 kB / 0.8557 GB, free: 2.914 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.751e-05/0.1204, allocations: 23.98 kB / 0.8557 GB, free: 2.891 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.1204, allocations: 4 kB / 0.8557 GB, free: 2.887 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.1205, allocations: 15.94 kB / 0.8557 GB, free: 2.871 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1206, allocations: 55.7 kB / 0.8557 GB, free: 2.816 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.551e-05/0.1206, allocations: 4 kB / 0.8558 GB, free: 2.812 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1206, allocations: 0 / 0.8558 GB, free: 2.812 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.1206, allocations: 0 / 0.8558 GB, free: 2.812 MB / 0.823 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.0003475/0.121, allocations: 264.5 kB / 0.856 GB, free: 2.527 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.121, allocations: 12.03 kB / 0.856 GB, free: 2.516 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.121, allocations: 4.938 kB / 0.856 GB, free: 2.512 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.369e-05/0.1211, allocations: 117.7 kB / 0.8561 GB, free: 2.371 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1211, allocations: 384 / 0.8561 GB, free: 2.371 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.1211, allocations: 4.375 kB / 0.8561 GB, free: 2.367 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1212, allocations: 66.94 kB / 0.8562 GB, free: 2.293 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.1213, allocations: 4.188 kB / 0.8562 GB, free: 2.289 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.1213, allocations: 384 / 0.8562 GB, free: 2.289 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1213, allocations: 384 / 0.8562 GB, free: 2.289 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.1213, allocations: 15.86 kB / 0.8562 GB, free: 2.273 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.1215, allocations: 164.2 kB / 0.8564 GB, free: 2.098 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.242e-05/0.1216, allocations: 22.58 kB / 0.8564 GB, free: 2.066 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.1216, allocations: 12.8 kB / 0.8564 GB, free: 2.051 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.1217, allocations: 16.08 kB / 0.8564 GB, free: 2.035 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1217, allocations: 34.56 kB / 0.8565 GB, free: 1.992 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1217, allocations: 0 / 0.8565 GB, free: 1.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001149/0.1219, allocations: 41.81 kB / 0.8565 GB, free: 1.945 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1219, allocations: 59.39 kB / 0.8566 GB, free: 1.875 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.721e-05/0.1219, allocations: 118.7 kB / 0.8567 GB, free: 1.746 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.122, allocations: 25.7 kB / 0.8567 GB, free: 1.715 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.122, allocations: 99.95 kB / 0.8568 GB, free: 1.613 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.122, allocations: 7.891 kB / 0.8568 GB, free: 1.605 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.122, allocations: 13.72 kB / 0.8568 GB, free: 1.586 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003338/0.1224, allocations: 326.8 kB / 0.8571 GB, free: 1.258 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.1224, allocations: 4 kB / 0.8571 GB, free: 1.254 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.1224, allocations: 7.984 kB / 0.8571 GB, free: 1.246 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.1224, allocations: 12.84 kB / 0.8571 GB, free: 1.23 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1224, allocations: 0 / 0.8571 GB, free: 1.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.612e-05/0.1225, allocations: 41.69 kB / 0.8572 GB, free: 1.184 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1225, allocations: 4 kB / 0.8572 GB, free: 1.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1225, allocations: 7.938 kB / 0.8572 GB, free: 1.172 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.1225, allocations: 0 / 0.8572 GB, free: 1.172 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.1225, allocations: 19.92 kB / 0.8572 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.1226, allocations: 0 / 0.8572 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.1226, allocations: 8 kB / 0.8572 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1226, allocations: 0 / 0.8572 GB, free: 1.145 MB / 0.823 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 4.52e-05/0.1226, allocations: 105.8 kB / 0.8573 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1226, allocations: 7.984 kB / 0.8573 GB, free: 1.023 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.291e-05/0.1227, allocations: 49.62 kB / 0.8574 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1227, allocations: 0 / 0.8574 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1227, allocations: 0 / 0.8574 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1227, allocations: 3.984 kB / 0.8574 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.16e-05/0.1228, allocations: 69.89 kB / 0.8575 GB, free: 0.875 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1228, allocations: 0 / 0.8575 GB, free: 0.875 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.1228, allocations: 23.98 kB / 0.8575 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.1228, allocations: 7.891 kB / 0.8575 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1228, allocations: 0 / 0.8575 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-06/0.1228, allocations: 0 / 0.8575 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1228, allocations: 3.938 kB / 0.8575 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1228, allocations: 4 kB / 0.8575 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.78e-05/0.1229, allocations: 131.5 kB / 0.8576 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.1229, allocations: 4 kB / 0.8576 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.123, allocations: 4 kB / 0.8576 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.123, allocations: 11.92 kB / 0.8576 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.123, allocations: 4 kB / 0.8576 GB, free: 0.668 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.322e-05/0.123, allocations: 20.78 kB / 0.8577 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.1e-08/0.123, allocations: 0 / 0.8577 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001277/0.1231, allocations: 15.94 kB / 0.8577 GB, free: 0.6289 MB / 0.823 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.000115/0.1232, allocations: 88.34 kB / 0.8578 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.914e-05/0.1233, allocations: 16.84 kB / 0.8578 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.1233, allocations: 8 kB / 0.8578 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.1233, allocations: 9.188 kB / 0.8578 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.1235, allocations: 15.98 kB / 0.8578 GB, free: 492 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.124, allocations: 156.4 kB / 0.858 GB, free: 308 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.03e-05/0.1241, allocations: 59.34 kB / 0.858 GB, free: 228 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.1241, allocations: 7.984 kB / 0.858 GB, free: 220 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.1241, allocations: 59.38 kB / 0.8581 GB, free: 160 kB / 0.823 GB Notification: Performance of SimCode: time 6.02e-07/0.1241, allocations: 4 kB / 0.8581 GB, free: 156 kB / 0.823 GB Notification: Performance of Templates: time 0.002451/0.1266, allocations: 1.022 MB / 0.8591 GB, free: 15.15 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.039788797497749]