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.0009609/0.0009609, allocations: 67.75 kB / 20.97 MB, free: 3.578 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.001112/0.001112, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9634/0.9634, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.901/1.901, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.563e-06/1.563e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.684e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001828/0.001855, allocations: 1.337 MB / 0.8128 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1136/0.1155, allocations: 127.4 MB / 0.9372 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.1155, allocations: 0 / 0.9372 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.1155, allocations: 4 kB / 0.9372 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.107e-05/0.1156, allocations: 3.938 kB / 0.9372 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.116, allocations: 55.67 kB / 0.9373 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.1161, allocations: 23.86 kB / 0.9373 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.1161, allocations: 3.984 kB / 0.9373 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.927e-05/0.1162, allocations: 15.98 kB / 0.9373 GB, free: 0.8281 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.1162, allocations: 7.938 kB / 0.9373 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1162, allocations: 0 / 0.9373 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-05/0.1163, allocations: 15.98 kB / 0.9374 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.1163, allocations: 4 kB / 0.9374 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.1163, allocations: 12 kB / 0.9374 GB, free: 0.7891 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.1164, allocations: 27.89 kB / 0.9374 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1164, allocations: 3.938 kB / 0.9374 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1164, allocations: 0 / 0.9374 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1164, allocations: 3.938 kB / 0.9374 GB, free: 0.7539 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.0003398/0.1168, allocations: 360.6 kB / 0.9378 GB, free: 372 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1168, allocations: 12.03 kB / 0.9378 GB, free: 360 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1169, allocations: 4.938 kB / 0.9378 GB, free: 356 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.621e-05/0.1169, allocations: 108.6 kB / 0.9379 GB, free: 220 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.109e-05/0.117, allocations: 55.97 kB / 0.9379 GB, free: 152 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.117, allocations: 4.375 kB / 0.9379 GB, free: 148 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.871e-05/0.1171, allocations: 50.95 kB / 0.938 GB, free: 88 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.1171, allocations: 192 / 0.938 GB, free: 88 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1172, allocations: 384 / 0.938 GB, free: 88 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1172, allocations: 4.125 kB / 0.938 GB, free: 84 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.412e-05/0.1172, allocations: 7.984 kB / 0.938 GB, free: 76 kB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.1173, allocations: 116.6 kB / 0.9381 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.1174, allocations: 35.09 kB / 0.9381 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.1174, allocations: 11.69 kB / 0.9381 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.1175, allocations: 20.08 kB / 0.9382 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1175, allocations: 33.39 kB / 0.9382 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1175, allocations: 0 / 0.9382 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001304/0.1177, allocations: 49.62 kB / 0.9382 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.1178, allocations: 55.41 kB / 0.9383 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.1179, allocations: 153.9 kB / 0.9384 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.1179, allocations: 29.7 kB / 0.9385 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.1179, allocations: 126.9 kB / 0.9386 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.118, allocations: 15.84 kB / 0.9386 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.118, allocations: 27.36 kB / 0.9386 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1181, allocations: 492.1 kB / 0.9391 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.1181, allocations: 8 kB / 0.9391 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-06/0.1181, allocations: 0 / 0.9391 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.1182, allocations: 20.14 kB / 0.9391 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1182, allocations: 0 / 0.9391 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.692e-05/0.1182, allocations: 49.62 kB / 0.9392 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1183, allocations: 4 kB / 0.9392 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1183, allocations: 0 / 0.9392 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1183, allocations: 3.938 kB / 0.9392 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.1183, allocations: 11.98 kB / 0.9392 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1183, allocations: 7.938 kB / 0.9392 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.1184, allocations: 0 / 0.9392 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.1184, allocations: 0 / 0.9392 GB, free: 14.69 MB / 0.9011 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 7.028e-05/0.1184, allocations: 160.6 kB / 0.9394 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.1184, allocations: 3.953 kB / 0.9394 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1185, allocations: 49.31 kB / 0.9394 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1185, allocations: 4 kB / 0.9394 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1186, allocations: 7.984 kB / 0.9394 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1186, allocations: 7.938 kB / 0.9394 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.636e-05/0.1186, allocations: 112.6 kB / 0.9395 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1186, allocations: 0 / 0.9395 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.1187, allocations: 4 kB / 0.9395 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1187, allocations: 0 / 0.9395 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-06/0.1187, allocations: 0 / 0.9395 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1187, allocations: 3.984 kB / 0.9395 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1187, allocations: 4 kB / 0.9395 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.567e-05/0.1188, allocations: 80.38 kB / 0.9396 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.1188, allocations: 0 / 0.9396 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1188, allocations: 0 / 0.9396 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.1188, allocations: 8 kB / 0.9396 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1189, allocations: 7.922 kB / 0.9396 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1189, allocations: 0 / 0.9396 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.1189, allocations: 131.1 kB / 0.9398 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1189, allocations: 0 / 0.9398 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001332/0.119, allocations: 11.94 kB / 0.9398 GB, free: 14.03 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.0001377/0.1192, allocations: 107.2 kB / 0.9399 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.873e-05/0.1192, allocations: 19.67 kB / 0.9399 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1192, allocations: 0 / 0.9399 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-05/0.1193, allocations: 19.69 kB / 0.9399 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.1194, allocations: 4 kB / 0.9399 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.12, allocations: 146.3 kB / 0.9401 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.038e-05/0.12, allocations: 55.34 kB / 0.9401 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.1201, allocations: 15.92 kB / 0.9401 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.1201, allocations: 8.5 kB / 0.9401 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of SimCode: time 6.01e-07/0.1201, allocations: 0 / 0.9401 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.002161/0.1223, allocations: 0.5582 MB / 0.9407 GB, free: 13.05 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.248740948969498]