Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.001051/0.001051, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001108/0.001108, allocations: 165.6 kB / 24.87 MB, free: 8.891 MB / 18.57 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.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.892/1.892, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.764e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00199/0.002008, allocations: 1.323 MB / 0.8141 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1082/0.1102, allocations: 125.2 MB / 0.9363 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.1103, allocations: 0 / 0.9363 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.1103, allocations: 0 / 0.9363 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.098e-05/0.1103, allocations: 7.922 kB / 0.9363 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.1107, allocations: 59.61 kB / 0.9364 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 7.696e-05/0.1108, allocations: 23.86 kB / 0.9364 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.1108, allocations: 4 kB / 0.9364 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.235e-05/0.1109, allocations: 15.98 kB / 0.9364 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.1109, allocations: 7.938 kB / 0.9364 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1109, allocations: 0 / 0.9364 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 7.94e-05/0.111, allocations: 15.98 kB / 0.9365 GB, free: 2.395 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.111, allocations: 7.984 kB / 0.9365 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.111, allocations: 7.984 kB / 0.9365 GB, free: 2.379 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.1111, allocations: 27.92 kB / 0.9365 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1111, allocations: 0 / 0.9365 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of FrontEnd: time 8.51e-07/0.1112, allocations: 3.938 kB / 0.9365 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.1112, allocations: 0 / 0.9365 GB, free: 2.348 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004024/0.1116, allocations: 364.6 kB / 0.9369 GB, free: 1.953 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1116, allocations: 8.031 kB / 0.9369 GB, free: 1.945 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.1116, allocations: 8.938 kB / 0.9369 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.04e-05/0.1117, allocations: 116.5 kB / 0.937 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.298e-05/0.1118, allocations: 55.97 kB / 0.937 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.1118, allocations: 4.375 kB / 0.937 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.139e-05/0.1119, allocations: 46.95 kB / 0.9371 GB, free: 1.672 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1119, allocations: 192 / 0.9371 GB, free: 1.672 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.1119, allocations: 384 / 0.9371 GB, free: 1.672 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1119, allocations: 4.125 kB / 0.9371 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.685e-05/0.1119, allocations: 11.94 kB / 0.9371 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.112, allocations: 97.27 kB / 0.9372 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.1121, allocations: 31.09 kB / 0.9372 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.1121, allocations: 15.69 kB / 0.9372 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.854e-05/0.1122, allocations: 12.08 kB / 0.9372 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1122, allocations: 37.39 kB / 0.9373 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1122, allocations: 0 / 0.9373 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001102/0.1123, allocations: 41.62 kB / 0.9373 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.1123, allocations: 59.41 kB / 0.9374 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.1124, allocations: 157.9 kB / 0.9375 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.1124, allocations: 29.7 kB / 0.9376 GB, free: 1.09 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.1124, allocations: 126.9 kB / 0.9377 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.1124, allocations: 11.89 kB / 0.9377 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1125, allocations: 19.38 kB / 0.9377 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1126, allocations: 496.1 kB / 0.9382 GB, free: 436 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.1126, allocations: 4 kB / 0.9382 GB, free: 432 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.1126, allocations: 0 / 0.9382 GB, free: 432 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.1126, allocations: 28.12 kB / 0.9382 GB, free: 400 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1126, allocations: 4 kB / 0.9382 GB, free: 396 kB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.789e-05/0.1127, allocations: 45.56 kB / 0.9383 GB, free: 344 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1127, allocations: 8 kB / 0.9383 GB, free: 336 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1127, allocations: 3.984 kB / 0.9383 GB, free: 332 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.1127, allocations: 0 / 0.9383 GB, free: 332 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.1128, allocations: 4 kB / 0.9383 GB, free: 328 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.1128, allocations: 0 / 0.9383 GB, free: 328 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.1128, allocations: 3.938 kB / 0.9383 GB, free: 324 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1128, allocations: 4 kB / 0.9383 GB, free: 320 kB / 0.8855 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 6.029e-05/0.1128, allocations: 156.6 kB / 0.9384 GB, free: 152 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.1129, allocations: 11.95 kB / 0.9384 GB, free: 140 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.952e-05/0.1129, allocations: 53.3 kB / 0.9385 GB, free: 80 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1129, allocations: 0 / 0.9385 GB, free: 80 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1129, allocations: 0 / 0.9385 GB, free: 80 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1129, allocations: 0 / 0.9385 GB, free: 80 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.816e-05/0.113, allocations: 97.2 kB / 0.9386 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.113, allocations: 0 / 0.9386 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.113, allocations: 4 kB / 0.9386 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.113, allocations: 0 / 0.9386 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-06/0.113, allocations: 4 kB / 0.9386 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.113, allocations: 3.984 kB / 0.9386 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.113, allocations: 4 kB / 0.9386 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.486e-05/0.1131, allocations: 80.38 kB / 0.9387 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.1131, allocations: 0 / 0.9387 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.1131, allocations: 8 kB / 0.9387 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.326e-05/0.1131, allocations: 0 / 0.9387 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.1132, allocations: 11.92 kB / 0.9387 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.1132, allocations: 0 / 0.9387 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.1132, allocations: 123.2 kB / 0.9388 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1132, allocations: 0 / 0.9388 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001784/0.1134, allocations: 11.94 kB / 0.9388 GB, free: 15.69 MB / 0.9011 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.0001312/0.1135, allocations: 119.2 kB / 0.9389 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.339e-05/0.1136, allocations: 19.67 kB / 0.939 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1136, allocations: 0 / 0.939 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.1136, allocations: 11.69 kB / 0.939 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.1138, allocations: 19.81 kB / 0.939 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.1142, allocations: 138.4 kB / 0.9391 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.07e-05/0.1143, allocations: 59.34 kB / 0.9392 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.1143, allocations: 3.984 kB / 0.9392 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.1143, allocations: 78.2 kB / 0.9393 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of SimCode: time 5.11e-07/0.1143, allocations: 0 / 0.9393 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of Templates: time 0.002291/0.1166, allocations: 0.6255 MB / 0.9399 GB, free: 14.57 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.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.187458868138492]