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.001353/0.001353, allocations: 87.58 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.00141/0.00141, allocations: 161 kB / 23.82 MB, free: 0.75 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.9644/0.9644, allocations: 177.2 MB / 204.2 MB, free: 5.582 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.721/1.721, allocations: 359 MB / 0.6052 GB, free: 11 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 2.334e-06/2.334e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.358e-05, allocations: 4.844 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.002362/0.002386, allocations: 1.324 MB / 0.7884 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1143/0.1167, allocations: 127.7 MB / 0.9131 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.1167, allocations: 4 kB / 0.9131 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.1167, allocations: 0 / 0.9131 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 4.971e-05/0.1168, allocations: 7.922 kB / 0.9131 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1171, allocations: 55.61 kB / 0.9131 GB, free: 11 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.1172, allocations: 27.86 kB / 0.9132 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.1172, allocations: 0 / 0.9132 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.1173, allocations: 15.98 kB / 0.9132 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.1173, allocations: 7.984 kB / 0.9132 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1173, allocations: 0 / 0.9132 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.02e-05/0.1174, allocations: 19.92 kB / 0.9132 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.1174, allocations: 4 kB / 0.9132 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.1174, allocations: 7.984 kB / 0.9132 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.1175, allocations: 23.98 kB / 0.9132 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1175, allocations: 0 / 0.9132 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1175, allocations: 0 / 0.9132 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1175, allocations: 0 / 0.9132 GB, free: 10.89 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.0003466/0.1179, allocations: 360.6 kB / 0.9136 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1179, allocations: 8.031 kB / 0.9136 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.118, allocations: 12.83 kB / 0.9136 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.837e-05/0.118, allocations: 120.5 kB / 0.9137 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.1181, allocations: 55.97 kB / 0.9138 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.1181, allocations: 4.375 kB / 0.9138 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.703e-05/0.1182, allocations: 46.95 kB / 0.9138 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1182, allocations: 192 / 0.9138 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1182, allocations: 384 / 0.9138 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1182, allocations: 3.938 kB / 0.9138 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.1183, allocations: 8 kB / 0.9138 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.1184, allocations: 112.7 kB / 0.9139 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.381e-05/0.1184, allocations: 42.98 kB / 0.914 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.1185, allocations: 11.69 kB / 0.914 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.1186, allocations: 20.08 kB / 0.914 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.1186, allocations: 37.39 kB / 0.914 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1186, allocations: 0 / 0.914 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001269/0.1187, allocations: 45.62 kB / 0.9141 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.1187, allocations: 55.34 kB / 0.9141 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.1188, allocations: 161.9 kB / 0.9143 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.1188, allocations: 25.7 kB / 0.9143 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.1188, allocations: 130.9 kB / 0.9144 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.1189, allocations: 11.91 kB / 0.9144 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.1189, allocations: 23.38 kB / 0.9145 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.119, allocations: 492.1 kB / 0.9149 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.119, allocations: 4 kB / 0.9149 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.119, allocations: 4.359 kB / 0.9149 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.119, allocations: 23.77 kB / 0.915 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.119, allocations: 0 / 0.915 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.755e-05/0.1191, allocations: 49.62 kB / 0.915 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1191, allocations: 5.875 kB / 0.915 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1191, allocations: 4 kB / 0.915 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1191, allocations: 0 / 0.915 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.1192, allocations: 4 kB / 0.915 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1192, allocations: 3.938 kB / 0.915 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.1192, allocations: 7.938 kB / 0.915 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1192, allocations: 4 kB / 0.915 GB, free: 8.816 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.399e-05/0.1192, allocations: 152.6 kB / 0.9152 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-06/0.1193, allocations: 7.984 kB / 0.9152 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.7e-05/0.1193, allocations: 53.33 kB / 0.9152 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1193, allocations: 0 / 0.9152 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1193, allocations: 11.94 kB / 0.9153 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1193, allocations: 3.938 kB / 0.9153 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.738e-05/0.1194, allocations: 108.6 kB / 0.9154 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1194, allocations: 0 / 0.9154 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.1194, allocations: 7.984 kB / 0.9154 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1194, allocations: 0 / 0.9154 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.1194, allocations: 4 kB / 0.9154 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.1194, allocations: 0 / 0.9154 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1194, allocations: 0 / 0.9154 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.813e-05/0.1195, allocations: 84.38 kB / 0.9155 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.1195, allocations: 0 / 0.9155 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-06/0.1195, allocations: 4 kB / 0.9155 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.016e-05/0.1195, allocations: 4 kB / 0.9155 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.1196, allocations: 3.984 kB / 0.9155 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1196, allocations: 3.938 kB / 0.9155 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.897e-05/0.1196, allocations: 123.2 kB / 0.9156 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1196, allocations: 3.938 kB / 0.9156 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001245/0.1197, allocations: 15.94 kB / 0.9156 GB, free: 8.156 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.0001183/0.1198, allocations: 111.2 kB / 0.9157 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.94e-05/0.1199, allocations: 19.67 kB / 0.9157 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1199, allocations: 4 kB / 0.9157 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-05/0.1199, allocations: 11.69 kB / 0.9158 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.12, allocations: 11.98 kB / 0.9158 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.1206, allocations: 142.7 kB / 0.9159 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.1206, allocations: 59.3 kB / 0.916 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.688e-05/0.1206, allocations: 7.984 kB / 0.916 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.1206, allocations: 8.5 kB / 0.916 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/0.1206, allocations: 0 / 0.916 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of Templates: time 0.002051/0.1227, allocations: 0.6052 MB / 0.9166 GB, free: 7.129 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: 4.969806954730302]