Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001442/0.001442, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001602/0.001602, allocations: 169 kB / 23.82 MB, free: 0.7461 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.02/1.02, allocations: 177.1 MB / 204.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.871/1.871, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.132e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001628/0.001649, allocations: 1.327 MB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1086/0.1102, allocations: 127.7 MB / 0.9131 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.1103, allocations: 0 / 0.9131 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.1103, allocations: 3.938 kB / 0.9131 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.1103, allocations: 7.984 kB / 0.9131 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.1107, allocations: 59.61 kB / 0.9131 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 7.311e-05/0.1108, allocations: 23.88 kB / 0.9131 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.1108, allocations: 4 kB / 0.9132 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.786e-05/0.1109, allocations: 15.92 kB / 0.9132 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.1109, allocations: 11.97 kB / 0.9132 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1109, allocations: 0 / 0.9132 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.152e-05/0.111, allocations: 19.98 kB / 0.9132 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.111, allocations: 0 / 0.9132 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.111, allocations: 7.938 kB / 0.9132 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.1112, allocations: 23.92 kB / 0.9132 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1112, allocations: 0 / 0.9132 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1112, allocations: 4 kB / 0.9132 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.1112, allocations: 7.984 kB / 0.9132 GB, free: 10.88 MB / 0.8698 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.0003522/0.1115, allocations: 360.6 kB / 0.9136 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1116, allocations: 8.031 kB / 0.9136 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.1116, allocations: 8.875 kB / 0.9136 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.045e-05/0.1117, allocations: 112.5 kB / 0.9137 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.1118, allocations: 59.97 kB / 0.9138 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.1118, allocations: 384 / 0.9138 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1119, allocations: 46.95 kB / 0.9138 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.1119, allocations: 192 / 0.9138 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.1119, allocations: 4.375 kB / 0.9138 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1119, allocations: 8.125 kB / 0.9138 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.1119, allocations: 0 / 0.9138 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.112, allocations: 116.6 kB / 0.9139 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.441e-05/0.1121, allocations: 39 kB / 0.914 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.1121, allocations: 15.81 kB / 0.914 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.1122, allocations: 12 kB / 0.914 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1123, allocations: 37.39 kB / 0.914 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1123, allocations: 4 kB / 0.914 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001288/0.1124, allocations: 49.62 kB / 0.9141 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1124, allocations: 51.41 kB / 0.9141 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.1125, allocations: 165.9 kB / 0.9143 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.1125, allocations: 29.64 kB / 0.9143 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.1125, allocations: 126.9 kB / 0.9144 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.1125, allocations: 7.906 kB / 0.9144 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.1126, allocations: 23.38 kB / 0.9145 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.1127, allocations: 0.4884 MB / 0.9149 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.1127, allocations: 0 / 0.9149 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-06/0.1127, allocations: 8.375 kB / 0.915 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.1127, allocations: 19.77 kB / 0.915 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1127, allocations: 0 / 0.915 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.076e-05/0.1128, allocations: 53.62 kB / 0.915 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.1128, allocations: 4 kB / 0.915 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1128, allocations: 0 / 0.915 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1128, allocations: 4 kB / 0.915 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.1129, allocations: 4 kB / 0.915 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1129, allocations: 3.938 kB / 0.915 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/0.1129, allocations: 3.984 kB / 0.915 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.1129, allocations: 4 kB / 0.915 GB, free: 8.801 MB / 0.8698 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 5.4e-05/0.1129, allocations: 156.6 kB / 0.9152 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-06/0.1129, allocations: 3.953 kB / 0.9152 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.944e-05/0.113, allocations: 53.38 kB / 0.9153 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.113, allocations: 0 / 0.9153 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.113, allocations: 3.938 kB / 0.9153 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.113, allocations: 3.938 kB / 0.9153 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.826e-05/0.1131, allocations: 112.6 kB / 0.9154 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1131, allocations: 0 / 0.9154 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.1131, allocations: 4 kB / 0.9154 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1131, allocations: 4 kB / 0.9154 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.1131, allocations: 4 kB / 0.9154 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.1131, allocations: 0 / 0.9154 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1131, allocations: 0 / 0.9154 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.588e-05/0.1132, allocations: 80.38 kB / 0.9155 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.1132, allocations: 11.98 kB / 0.9155 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-06/0.1132, allocations: 0 / 0.9155 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-06/0.1132, allocations: 0 / 0.9155 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1132, allocations: 0 / 0.9155 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1132, allocations: 4 kB / 0.9155 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.995e-05/0.1133, allocations: 139 kB / 0.9156 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1133, allocations: 0 / 0.9156 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000128/0.1134, allocations: 11.94 kB / 0.9156 GB, free: 8.141 MB / 0.8698 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.0001187/0.1135, allocations: 115.2 kB / 0.9157 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.234e-05/0.1136, allocations: 15.69 kB / 0.9157 GB, free: 8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.1136, allocations: 0 / 0.9157 GB, free: 8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.777e-05/0.1136, allocations: 19.67 kB / 0.9158 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.1138, allocations: 8 kB / 0.9158 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.1143, allocations: 146.1 kB / 0.9159 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.917e-05/0.1144, allocations: 55.36 kB / 0.916 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.1144, allocations: 11.97 kB / 0.916 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.1144, allocations: 12.5 kB / 0.916 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of SimCode: time 9.41e-07/0.1144, allocations: 0 / 0.916 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of Templates: time 0.002187/0.1166, allocations: 0.5499 MB / 0.9165 GB, free: 7.164 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.395689805969596]