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.0008243/0.0008243, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.001948, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007137/0.0007137, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009751/0.001689, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9098/0.9098, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08429/0.994, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.847/1.847, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4557/2.303, allocations: 123.3 MB / 0.7283 GB, free: 5.73 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.182e-06/1.182e-06, allocations: 0 / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.201e-05, allocations: 6.25 kB / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001724/0.001736, allocations: 1.598 MB / 0.7312 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1155/0.1173, allocations: 127.6 MB / 0.8558 GB, free: 3.027 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.1173, allocations: 4 kB / 0.8558 GB, free: 3.023 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5e-05/0.1174, allocations: 3.938 kB / 0.8558 GB, free: 3.02 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.1174, allocations: 15.75 kB / 0.8558 GB, free: 3.008 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.1177, allocations: 71.66 kB / 0.8559 GB, free: 2.938 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.258e-05/0.1178, allocations: 55.73 kB / 0.8559 GB, free: 2.883 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.1178, allocations: 12 kB / 0.8559 GB, free: 2.871 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.1179, allocations: 31.95 kB / 0.856 GB, free: 2.84 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.118, allocations: 23.91 kB / 0.856 GB, free: 2.816 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.118, allocations: 4 kB / 0.856 GB, free: 2.812 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.1181, allocations: 31.92 kB / 0.856 GB, free: 2.781 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.1181, allocations: 7.938 kB / 0.856 GB, free: 2.773 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.1181, allocations: 12 kB / 0.856 GB, free: 2.762 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1182, allocations: 43.8 kB / 0.8561 GB, free: 2.719 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.1182, allocations: 0 / 0.8561 GB, free: 2.719 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1182, allocations: 0 / 0.8561 GB, free: 2.719 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.1183, allocations: 0 / 0.8561 GB, free: 2.719 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.000348/0.1186, allocations: 276.4 kB / 0.8563 GB, free: 2.422 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1186, allocations: 8.031 kB / 0.8563 GB, free: 2.414 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.1187, allocations: 4.938 kB / 0.8563 GB, free: 2.41 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.878e-05/0.1187, allocations: 113.7 kB / 0.8565 GB, free: 2.273 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1188, allocations: 4.375 kB / 0.8565 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1188, allocations: 8.312 kB / 0.8565 GB, free: 2.262 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.1189, allocations: 74.91 kB / 0.8565 GB, free: 2.18 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.1189, allocations: 192 / 0.8565 GB, free: 2.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.1189, allocations: 384 / 0.8565 GB, free: 2.18 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1189, allocations: 384 / 0.8565 GB, free: 2.18 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.1189, allocations: 11.94 kB / 0.8566 GB, free: 2.168 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.1191, allocations: 164.2 kB / 0.8567 GB, free: 1.992 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.1192, allocations: 22.52 kB / 0.8567 GB, free: 1.961 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.1192, allocations: 12.86 kB / 0.8567 GB, free: 1.945 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.283e-05/0.1193, allocations: 12.08 kB / 0.8568 GB, free: 1.934 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.1193, allocations: 42.56 kB / 0.8568 GB, free: 1.883 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1193, allocations: 3.938 kB / 0.8568 GB, free: 1.879 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001079/0.1194, allocations: 53.55 kB / 0.8568 GB, free: 1.82 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.1194, allocations: 51.41 kB / 0.8569 GB, free: 1.758 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.11e-05/0.1195, allocations: 114.7 kB / 0.857 GB, free: 1.633 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.1195, allocations: 29.7 kB / 0.857 GB, free: 1.598 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.1195, allocations: 92.08 kB / 0.8571 GB, free: 1.504 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.1196, allocations: 15.88 kB / 0.8571 GB, free: 1.488 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.1196, allocations: 13.72 kB / 0.8572 GB, free: 1.469 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.898e-05/0.1196, allocations: 314.8 kB / 0.8575 GB, free: 1.152 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.1197, allocations: 3.984 kB / 0.8575 GB, free: 1.148 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.1197, allocations: 4 kB / 0.8575 GB, free: 1.145 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/0.1197, allocations: 16.84 kB / 0.8575 GB, free: 1.125 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1197, allocations: 0 / 0.8575 GB, free: 1.125 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.387e-05/0.1197, allocations: 41.62 kB / 0.8575 GB, free: 1.078 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.1197, allocations: 4 kB / 0.8575 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1198, allocations: 7.922 kB / 0.8575 GB, free: 1.066 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1198, allocations: 8 kB / 0.8575 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.306e-05/0.1198, allocations: 8 kB / 0.8575 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.1198, allocations: 0 / 0.8575 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.1198, allocations: 7.984 kB / 0.8575 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1198, allocations: 0 / 0.8575 GB, free: 1.043 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.432e-05/0.1199, allocations: 109.8 kB / 0.8577 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.1199, allocations: 4 kB / 0.8577 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.504e-05/0.12, allocations: 57.55 kB / 0.8577 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.12, allocations: 0 / 0.8577 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.12, allocations: 0 / 0.8577 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.12, allocations: 8 kB / 0.8577 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.663e-05/0.1201, allocations: 69.89 kB / 0.8578 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1201, allocations: 0 / 0.8578 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.1201, allocations: 11.98 kB / 0.8578 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.1201, allocations: 7.938 kB / 0.8578 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.1201, allocations: 0 / 0.8578 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.1201, allocations: 0 / 0.8578 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1201, allocations: 7.938 kB / 0.8578 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1201, allocations: 0 / 0.8578 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.577e-05/0.1202, allocations: 135.5 kB / 0.8579 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.1202, allocations: 4 kB / 0.8579 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.488e-05/0.1202, allocations: 15.92 kB / 0.858 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1203, allocations: 7.922 kB / 0.858 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1203, allocations: 0 / 0.858 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.29e-05/0.1203, allocations: 12.86 kB / 0.858 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1203, allocations: 0 / 0.858 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001236/0.1204, allocations: 19.94 kB / 0.858 GB, free: 0.5195 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.0001111/0.1205, allocations: 84.83 kB / 0.8581 GB, free: 440 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.839e-05/0.1206, allocations: 24.83 kB / 0.8581 GB, free: 412 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.1206, allocations: 7.984 kB / 0.8581 GB, free: 404 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.133e-05/0.1206, allocations: 8.859 kB / 0.8581 GB, free: 392 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.1208, allocations: 75.39 kB / 0.8582 GB, free: 304 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.1213, allocations: 152.3 kB / 0.8583 GB, free: 124 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.068e-05/0.1213, allocations: 59.34 kB / 0.8584 GB, free: 44 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.1213, allocations: 8 kB / 0.8584 GB, free: 36 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.1214, allocations: 55.38 kB / 0.8585 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of SimCode: time 7.61e-07/0.1214, allocations: 3.938 kB / 0.8585 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.002295/0.1237, allocations: 1.032 MB / 0.8595 GB, free: 14.97 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.833601091988385]