Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001416/0.001416, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00154/0.00154, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 0.9516/0.9516, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 2.106/2.106, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_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_latest_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.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.612e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001861/0.001887, allocations: 1.333 MB / 0.8795 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1099/0.1118, allocations: 127.7 MB / 1.004 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.1118, allocations: 0 / 1.004 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.1118, allocations: 0 / 1.004 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.1119, allocations: 11.91 kB / 1.004 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.1123, allocations: 63.62 kB / 1.004 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.079e-05/0.1123, allocations: 23.86 kB / 1.004 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.1124, allocations: 7.984 kB / 1.004 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.1124, allocations: 11.92 kB / 1.004 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.1125, allocations: 4 kB / 1.004 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1125, allocations: 4 kB / 1.004 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.571e-05/0.1126, allocations: 11.98 kB / 1.004 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.1126, allocations: 8 kB / 1.004 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.1126, allocations: 11.92 kB / 1.004 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1127, allocations: 19.97 kB / 1.004 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1127, allocations: 4 kB / 1.004 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1127, allocations: 0 / 1.004 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.1127, allocations: 0 / 1.004 GB, free: 4.734 MB / 0.9636 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.0003814/0.1131, allocations: 368.5 kB / 1.005 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1132, allocations: 12.03 kB / 1.005 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.1134, allocations: 16.86 kB / 1.005 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.044e-05/0.1134, allocations: 108.6 kB / 1.005 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/0.1135, allocations: 55.97 kB / 1.005 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1135, allocations: 384 / 1.005 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1136, allocations: 50.95 kB / 1.005 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1136, allocations: 4.188 kB / 1.005 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1137, allocations: 4.375 kB / 1.005 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.1137, allocations: 4.125 kB / 1.005 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.569e-05/0.1137, allocations: 7.984 kB / 1.005 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.1138, allocations: 120.5 kB / 1.005 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.644e-05/0.1139, allocations: 31.06 kB / 1.005 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.1139, allocations: 15.81 kB / 1.005 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.1139, allocations: 4 kB / 1.005 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1139, allocations: 37.39 kB / 1.005 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1139, allocations: 4 kB / 1.005 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.000132/0.1141, allocations: 49.81 kB / 1.005 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.1141, allocations: 51.41 kB / 1.005 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.1142, allocations: 161.9 kB / 1.005 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.1142, allocations: 25.7 kB / 1.005 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.1142, allocations: 134.8 kB / 1.006 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1143, allocations: 11.91 kB / 1.006 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.1143, allocations: 23.36 kB / 1.006 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1144, allocations: 496.1 kB / 1.006 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.1144, allocations: 4 kB / 1.006 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.1144, allocations: 4 kB / 1.006 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.245e-05/0.1144, allocations: 19.69 kB / 1.006 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1144, allocations: 0 / 1.006 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.369e-05/0.1145, allocations: 45.62 kB / 1.006 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1145, allocations: 4 kB / 1.006 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1145, allocations: 0 / 1.006 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1145, allocations: 0 / 1.006 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.1146, allocations: 7.984 kB / 1.006 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1146, allocations: 3.938 kB / 1.006 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.1146, allocations: 8 kB / 1.006 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1146, allocations: 8 kB / 1.006 GB, free: 2.648 MB / 0.9636 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.091e-05/0.1147, allocations: 152.6 kB / 1.006 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-06/0.1147, allocations: 4 kB / 1.006 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.1147, allocations: 7.688 kB / 1.006 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1147, allocations: 0 / 1.006 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1147, allocations: 0 / 1.006 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1147, allocations: 7.938 kB / 1.006 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.376e-05/0.1148, allocations: 108.6 kB / 1.006 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.1148, allocations: 0 / 1.006 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.1148, allocations: 12 kB / 1.006 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.1148, allocations: 4 kB / 1.006 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1148, allocations: 0 / 1.006 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.1148, allocations: 0 / 1.006 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.1148, allocations: 3.938 kB / 1.006 GB, free: 2.305 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.993e-05/0.1149, allocations: 84.33 kB / 1.007 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.1149, allocations: 4 kB / 1.007 GB, free: 2.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.1149, allocations: 3.984 kB / 1.007 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.115e-05/0.1149, allocations: 0 / 1.007 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.115, allocations: 4 kB / 1.007 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.115, allocations: 0 / 1.007 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.115, allocations: 123.5 kB / 1.007 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.115, allocations: 11.94 kB / 1.007 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001215/0.1151, allocations: 8 kB / 1.007 GB, free: 2.047 MB / 0.9636 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 8.295e-05/0.1152, allocations: 95.23 kB / 1.007 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.827e-05/0.1153, allocations: 27.75 kB / 1.007 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.1153, allocations: 0 / 1.007 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.837e-05/0.1153, allocations: 19.67 kB / 1.007 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.1155, allocations: 4 kB / 1.007 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.1161, allocations: 146.3 kB / 1.007 GB, free: 1.715 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.139e-05/0.1161, allocations: 55.34 kB / 1.007 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.1161, allocations: 4 kB / 1.007 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.1162, allocations: 12.5 kB / 1.007 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/0.1162, allocations: 0 / 1.007 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of Templates: time 0.001971/0.1181, allocations: 493.4 kB / 1.007 GB, free: 1.156 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.526454437989742]