Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009984/0.0009984, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009699/0.0009699, allocations: 169 kB / 24.28 MB, free: 280 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.9273/0.9273, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.727/1.727, allocations: 359 MB / 0.6055 GB, free: 11.01 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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0.7656 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.234e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00207/0.002092, allocations: 1.533 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1157/0.1178, allocations: 127.4 MB / 0.913 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.1178, allocations: 0 / 0.913 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.1179, allocations: 3.938 kB / 0.913 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.1179, allocations: 15.75 kB / 0.913 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.1183, allocations: 67.59 kB / 0.9131 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.1184, allocations: 47.8 kB / 0.9132 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.1185, allocations: 19.98 kB / 0.9132 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.498e-05/0.1186, allocations: 35.91 kB / 0.9132 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.1186, allocations: 19.97 kB / 0.9132 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1186, allocations: 4 kB / 0.9132 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-05/0.1187, allocations: 19.98 kB / 0.9133 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.1187, allocations: 7.938 kB / 0.9133 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.1188, allocations: 15.98 kB / 0.9133 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1189, allocations: 51.77 kB / 0.9133 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1189, allocations: 7.984 kB / 0.9133 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1189, allocations: 0 / 0.9133 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1189, allocations: 4 kB / 0.9133 GB, free: 11.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003935/0.1193, allocations: 388.4 kB / 0.9137 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1193, allocations: 8.031 kB / 0.9137 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.1194, allocations: 8.938 kB / 0.9137 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.533e-05/0.1195, allocations: 116.6 kB / 0.9138 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1195, allocations: 384 / 0.9138 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.1195, allocations: 4.375 kB / 0.9138 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1196, allocations: 70.92 kB / 0.9139 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.1196, allocations: 192 / 0.9139 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1197, allocations: 4.375 kB / 0.9139 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1197, allocations: 384 / 0.9139 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.757e-05/0.1197, allocations: 19.88 kB / 0.9139 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.12, allocations: 275.7 kB / 0.9142 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/0.1201, allocations: 35.06 kB / 0.9142 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.1201, allocations: 23.64 kB / 0.9142 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.1202, allocations: 8 kB / 0.9143 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.1203, allocations: 41.31 kB / 0.9143 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1203, allocations: 4 kB / 0.9143 GB, free: 10 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001557/0.1204, allocations: 45.7 kB / 0.9143 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.1204, allocations: 55.39 kB / 0.9144 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.1205, allocations: 173.9 kB / 0.9146 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.1205, allocations: 25.7 kB / 0.9146 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.1206, allocations: 134.8 kB / 0.9147 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.1206, allocations: 15.89 kB / 0.9147 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.1206, allocations: 15.38 kB / 0.9147 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1207, allocations: 0.4923 MB / 0.9152 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.1207, allocations: 0 / 0.9152 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.495e-05/0.1207, allocations: 4 kB / 0.9152 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.519e-05/0.1208, allocations: 23.67 kB / 0.9152 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1208, allocations: 0 / 0.9152 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.219e-05/0.1208, allocations: 49.59 kB / 0.9153 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1209, allocations: 4 kB / 0.9153 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1209, allocations: 0 / 0.9153 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1209, allocations: 0 / 0.9153 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/0.1209, allocations: 15.92 kB / 0.9153 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1209, allocations: 0 / 0.9153 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.121, allocations: 8.312 kB / 0.9153 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.121, allocations: 7.984 kB / 0.9153 GB, free: 8.867 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 6.063e-05/0.121, allocations: 160.6 kB / 0.9155 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.1212, allocations: 11.89 kB / 0.9155 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.986e-05/0.1212, allocations: 53.66 kB / 0.9155 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1212, allocations: 0 / 0.9155 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1212, allocations: 0 / 0.9155 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1212, allocations: 4 kB / 0.9156 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.193e-05/0.1213, allocations: 128.6 kB / 0.9157 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1213, allocations: 0 / 0.9157 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.1214, allocations: 11.98 kB / 0.9157 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.1214, allocations: 0 / 0.9157 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.1214, allocations: 11.88 kB / 0.9157 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1214, allocations: 0 / 0.9157 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1214, allocations: 7.938 kB / 0.9157 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.148e-05/0.1215, allocations: 187.9 kB / 0.9159 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.1215, allocations: 7.953 kB / 0.9159 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1215, allocations: 3.938 kB / 0.9159 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/0.1215, allocations: 4 kB / 0.9159 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.1216, allocations: 11.98 kB / 0.9159 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.1216, allocations: 0 / 0.9159 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.1216, allocations: 127.2 kB / 0.916 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1216, allocations: 4 kB / 0.916 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001504/0.1218, allocations: 20 kB / 0.9161 GB, free: 8.055 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.0001328/0.1219, allocations: 111.1 kB / 0.9162 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.973e-05/0.122, allocations: 19.67 kB / 0.9162 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.122, allocations: 0 / 0.9162 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.122, allocations: 11.69 kB / 0.9162 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.1222, allocations: 13.88 kB / 0.9162 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.1225, allocations: 162 kB / 0.9164 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.1225, allocations: 59.34 kB / 0.9164 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.059e-05/0.1225, allocations: 0 / 0.9164 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.1226, allocations: 12.5 kB / 0.9164 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/0.1226, allocations: 0 / 0.9164 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of Templates: time 0.002472/0.125, allocations: 1.016 MB / 0.9174 GB, free: 6.621 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_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.225305037805811]