Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001357/0.001357, 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.001084/0.001084, allocations: 173 kB / 23.02 MB, free: 1.551 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.9292/0.9292, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.023/2.023, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.604e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00176/0.001786, allocations: 1.341 MB / 0.8795 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1346/0.1364, allocations: 143.5 MB / 1.02 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.1364, allocations: 4 kB / 1.02 GB, free: 5.004 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.1365, allocations: 0 / 1.02 GB, free: 5.004 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 6.395e-05/0.1365, allocations: 11.86 kB / 1.02 GB, free: 4.992 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.1371, allocations: 119.4 kB / 1.02 GB, free: 4.875 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.1372, allocations: 27.8 kB / 1.02 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.1372, allocations: 3.984 kB / 1.02 GB, free: 4.844 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.1373, allocations: 11.98 kB / 1.02 GB, free: 4.832 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 3.85e-05/0.1373, allocations: 4 kB / 1.02 GB, free: 4.828 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1373, allocations: 0 / 1.02 GB, free: 4.828 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.1377, allocations: 163.6 kB / 1.02 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.1377, allocations: 3.938 kB / 1.02 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.1378, allocations: 15.94 kB / 1.02 GB, free: 4.648 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.138, allocations: 127.7 kB / 1.02 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.138, allocations: 0 / 1.02 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.933e-06/0.138, allocations: 0 / 1.02 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.138, allocations: 0 / 1.02 GB, free: 4.523 MB / 0.9792 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.00035/0.1383, allocations: 383.9 kB / 1.02 GB, free: 4.113 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1384, allocations: 8.031 kB / 1.02 GB, free: 4.105 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.1388, allocations: 48.78 kB / 1.02 GB, free: 4.059 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.419e-05/0.1389, allocations: 108.6 kB / 1.021 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1389, allocations: 384 / 1.021 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1389, allocations: 384 / 1.021 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1391, allocations: 70.23 kB / 1.021 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1391, allocations: 0 / 1.021 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1391, allocations: 0 / 1.021 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1391, allocations: 3.984 kB / 1.021 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.241e-05/0.1391, allocations: 7.984 kB / 1.021 GB, free: 3.836 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.1395, allocations: 255.8 kB / 1.021 GB, free: 3.551 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 5.426e-05/0.1395, allocations: 35.05 kB / 1.021 GB, free: 3.504 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.1395, allocations: 15.69 kB / 1.021 GB, free: 3.484 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.1395, allocations: 0 / 1.021 GB, free: 3.484 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.1396, allocations: 33.39 kB / 1.021 GB, free: 3.441 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1396, allocations: 0 / 1.021 GB, free: 3.441 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2): time 0.0001425/0.1397, allocations: 41.7 kB / 1.021 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.1397, allocations: 55.39 kB / 1.021 GB, free: 3.328 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1398, allocations: 162.1 kB / 1.021 GB, free: 3.152 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.1398, allocations: 29.7 kB / 1.021 GB, free: 3.117 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.1399, allocations: 134.8 kB / 1.021 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-06/0.1399, allocations: 11.89 kB / 1.021 GB, free: 2.969 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1399, allocations: 27.36 kB / 1.021 GB, free: 2.934 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1401, allocations: 496.1 kB / 1.022 GB, free: 2.438 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.1401, allocations: 7.984 kB / 1.022 GB, free: 2.43 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.1401, allocations: 4 kB / 1.022 GB, free: 2.426 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.1401, allocations: 19.62 kB / 1.022 GB, free: 2.402 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1401, allocations: 0 / 1.022 GB, free: 2.402 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.985e-05/0.1402, allocations: 57.67 kB / 1.022 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1403, allocations: 4 kB / 1.022 GB, free: 2.336 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1403, allocations: 0 / 1.022 GB, free: 2.336 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1403, allocations: 0 / 1.022 GB, free: 2.336 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.1404, allocations: 19.86 kB / 1.022 GB, free: 2.316 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1404, allocations: 0 / 1.022 GB, free: 2.316 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.1404, allocations: 4 kB / 1.022 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.1404, allocations: 0 / 1.022 GB, free: 2.312 MB / 0.9792 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.728e-05/0.1405, allocations: 164.5 kB / 1.022 GB, free: 2.141 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.1405, allocations: 7.953 kB / 1.022 GB, free: 2.133 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.1405, allocations: 7.312 kB / 1.022 GB, free: 2.121 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1405, allocations: 0 / 1.022 GB, free: 2.121 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1405, allocations: 4 kB / 1.022 GB, free: 2.117 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1405, allocations: 0 / 1.022 GB, free: 2.117 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.454e-05/0.1406, allocations: 112.6 kB / 1.022 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1406, allocations: 0 / 1.022 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.1407, allocations: 7.984 kB / 1.022 GB, free: 1.965 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1407, allocations: 0 / 1.022 GB, free: 1.965 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1407, allocations: 4 kB / 1.022 GB, free: 1.961 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.1407, allocations: 4 kB / 1.022 GB, free: 1.957 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1407, allocations: 4 kB / 1.022 GB, free: 1.953 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.1408, allocations: 183.8 kB / 1.022 GB, free: 1.754 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.1408, allocations: 8.312 kB / 1.022 GB, free: 1.746 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1408, allocations: 4 kB / 1.023 GB, free: 1.742 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.1409, allocations: 0 / 1.023 GB, free: 1.742 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.1409, allocations: 4 kB / 1.023 GB, free: 1.738 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1409, allocations: 0 / 1.023 GB, free: 1.738 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.1409, allocations: 131.2 kB / 1.023 GB, free: 1.609 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1409, allocations: 0 / 1.023 GB, free: 1.609 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001685/0.1411, allocations: 23.97 kB / 1.023 GB, free: 1.586 MB / 0.9792 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 (2): * Single equations (assignments): 2 * 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.0001571/0.1413, allocations: 103.2 kB / 1.023 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 9.227e-05/0.1413, allocations: 23.67 kB / 1.023 GB, free: 1.449 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1413, allocations: 0 / 1.023 GB, free: 1.449 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/0.1414, allocations: 15.62 kB / 1.023 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.1416, allocations: 15.92 kB / 1.023 GB, free: 1.414 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.1421, allocations: 134.5 kB / 1.023 GB, free: 1.254 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.351e-05/0.1421, allocations: 55.34 kB / 1.023 GB, free: 1.18 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.911e-05/0.1422, allocations: 8 kB / 1.023 GB, free: 1.172 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.1422, allocations: 12.44 kB / 1.023 GB, free: 1.16 MB / 0.9792 GB Notification: Performance of SimCode: time 5.91e-07/0.1422, allocations: 0 / 1.023 GB, free: 1.16 MB / 0.9792 GB Notification: Performance of Templates: time 0.002714/0.1449, allocations: 0.8679 MB / 1.024 GB, free: 312 kB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.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.333387020975351]