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.0009897/0.0009897, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001611/0.001611, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.982/0.982, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.503/2.503, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.974e-06/1.974e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.884e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003125/0.003153, allocations: 1.368 MB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1394/0.1426, allocations: 127.1 MB / 0.9641 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.1426, allocations: 0 / 0.9641 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.1426, allocations: 0 / 0.9641 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.1427, allocations: 15.91 kB / 0.9641 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.143, allocations: 55.62 kB / 0.9642 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.434e-05/0.1431, allocations: 27.86 kB / 0.9642 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.1431, allocations: 0 / 0.9642 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.1432, allocations: 15.97 kB / 0.9642 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.1432, allocations: 4 kB / 0.9642 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1432, allocations: 0 / 0.9642 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.1433, allocations: 27.92 kB / 0.9643 GB, free: 13 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.1433, allocations: 0 / 0.9643 GB, free: 13 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.1433, allocations: 4 kB / 0.9643 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.505e-05/0.1434, allocations: 35.89 kB / 0.9643 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1434, allocations: 0 / 0.9643 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1434, allocations: 0 / 0.9643 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.1434, allocations: 3.938 kB / 0.9643 GB, free: 12.95 MB / 0.9323 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.000316/0.1438, allocations: 224.6 kB / 0.9645 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1438, allocations: 8.625 kB / 0.9645 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.144, allocations: 28.92 kB / 0.9645 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/0.144, allocations: 109.7 kB / 0.9646 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.1441, allocations: 55.97 kB / 0.9647 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-06/0.1441, allocations: 384 / 0.9647 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.907e-05/0.1442, allocations: 54.88 kB / 0.9648 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1442, allocations: 4.172 kB / 0.9648 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.1442, allocations: 384 / 0.9648 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1442, allocations: 8.125 kB / 0.9648 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.896e-05/0.1442, allocations: 4 kB / 0.9648 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.967e-05/0.1443, allocations: 68.97 kB / 0.9648 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.437e-05/0.1444, allocations: 22.58 kB / 0.9649 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.299e-05/0.1444, allocations: 8.859 kB / 0.9649 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.311e-06/0.1444, allocations: 0 / 0.9649 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1444, allocations: 38.69 kB / 0.9649 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.1444, allocations: 0 / 0.9649 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3): time 9.258e-05/0.1445, allocations: 37.64 kB / 0.9649 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1445, allocations: 63.39 kB / 0.965 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.95e-05/0.1446, allocations: 94.72 kB / 0.9651 GB, free: 12 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.1446, allocations: 29.7 kB / 0.9651 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.954e-05/0.1446, allocations: 80.14 kB / 0.9652 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1446, allocations: 11.94 kB / 0.9652 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.1447, allocations: 13.72 kB / 0.9652 GB, free: 11.85 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.1447, allocations: 318.8 kB / 0.9655 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.1447, allocations: 4 kB / 0.9655 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.1448, allocations: 0 / 0.9655 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.1448, allocations: 16.84 kB / 0.9655 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1448, allocations: 0 / 0.9655 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.602e-05/0.1448, allocations: 41.64 kB / 0.9656 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1448, allocations: 8 kB / 0.9656 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1448, allocations: 0 / 0.9656 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1449, allocations: 4 kB / 0.9656 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.1449, allocations: 7.984 kB / 0.9656 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.1449, allocations: 0 / 0.9656 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.1449, allocations: 4.516 kB / 0.9656 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1449, allocations: 3.938 kB / 0.9656 GB, free: 11.43 MB / 0.9323 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 4.96e-05/0.145, allocations: 105.8 kB / 0.9657 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.145, allocations: 4 kB / 0.9657 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.145, allocations: 7.688 kB / 0.9657 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.145, allocations: 0 / 0.9657 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.145, allocations: 7.969 kB / 0.9657 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.145, allocations: 7.938 kB / 0.9657 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.264e-05/0.1451, allocations: 73.78 kB / 0.9658 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.1451, allocations: 0 / 0.9658 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.1451, allocations: 8 kB / 0.9658 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.1451, allocations: 0 / 0.9658 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.1451, allocations: 0 / 0.9658 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1451, allocations: 3.938 kB / 0.9658 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1451, allocations: 4 kB / 0.9658 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.713e-05/0.1452, allocations: 65.06 kB / 0.9659 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.1452, allocations: 7.984 kB / 0.9659 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-06/0.1452, allocations: 8 kB / 0.9659 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.1452, allocations: 0 / 0.9659 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.1452, allocations: 0 / 0.9659 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.1452, allocations: 0 / 0.9659 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 1.259e-05/0.1452, allocations: 16.84 kB / 0.9659 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1452, allocations: 0 / 0.9659 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of remove unused functions: time 9.471e-05/0.1453, allocations: 4 kB / 0.9659 GB, free: 11.07 MB / 0.9323 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.0001052/0.1454, allocations: 76.42 kB / 0.966 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 5.619e-05/0.1455, allocations: 20.8 kB / 0.966 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1455, allocations: 4 kB / 0.966 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.497e-05/0.1455, allocations: 16.84 kB / 0.966 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.792e-05/0.1456, allocations: 16.06 kB / 0.966 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.1461, allocations: 144.5 kB / 0.9662 GB, free: 10.76 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.1461, allocations: 63.34 kB / 0.9662 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 2.676e-05/0.1461, allocations: 0 / 0.9662 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.1462, allocations: 55.38 kB / 0.9663 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of SimCode: time 6.81e-07/0.1462, allocations: 0 / 0.9663 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of Templates: time 0.001897/0.1481, allocations: 0.5195 MB / 0.9668 GB, free: 10.11 MB / 0.9323 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 -s gbode -gbm=radauIIA3 -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.598735886160284]