Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001309/0.001309, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001415/0.001415, allocations: 169 kB / 24.28 MB, free: 276 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.925/0.925, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.842/1.842, allocations: 377.9 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.976e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002452/0.002482, allocations: 1.345 MB / 0.8128 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1779/0.1804, allocations: 143.2 MB / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.1805, allocations: 0 / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.1805, allocations: 4 kB / 0.9527 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.1805, allocations: 7.875 kB / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.1809, allocations: 127.3 kB / 0.9528 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.181, allocations: 19.88 kB / 0.9528 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.181, allocations: 7.984 kB / 0.9528 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.1811, allocations: 7.938 kB / 0.9528 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.059e-05/0.1811, allocations: 7.984 kB / 0.9528 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1811, allocations: 4 kB / 0.9528 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.1814, allocations: 167.6 kB / 0.953 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.1814, allocations: 0 / 0.953 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.1814, allocations: 8 kB / 0.953 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1816, allocations: 131.6 kB / 0.9531 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1816, allocations: 0 / 0.9531 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1816, allocations: 0 / 0.9531 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1816, allocations: 0 / 0.9531 GB, free: 0.6133 MB / 0.9011 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.0002776/0.1819, allocations: 380.3 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1819, allocations: 8.031 kB / 0.9535 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.1823, allocations: 44.83 kB / 0.9535 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.592e-05/0.1824, allocations: 108.6 kB / 0.9536 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1824, allocations: 4.312 kB / 0.9536 GB, free: 20 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1824, allocations: 4.312 kB / 0.9537 GB, free: 16 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1826, allocations: 70.28 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.1826, allocations: 0 / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1826, allocations: 0 / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1826, allocations: 4 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.163e-05/0.1826, allocations: 7.984 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.1829, allocations: 255.7 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.386e-05/0.1829, allocations: 35 kB / 0.954 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.183, allocations: 15.73 kB / 0.954 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.183, allocations: 0 / 0.954 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.183, allocations: 37.39 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.183, allocations: 0 / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001167/0.1831, allocations: 41.7 kB / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.1831, allocations: 51.41 kB / 0.9541 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.1832, allocations: 169.9 kB / 0.9543 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.1832, allocations: 25.7 kB / 0.9543 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.1833, allocations: 130.9 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.1833, allocations: 11.88 kB / 0.9545 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.1833, allocations: 27.36 kB / 0.9545 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1834, allocations: 492.1 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.1834, allocations: 4 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.1835, allocations: 12.11 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.1835, allocations: 23.62 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1835, allocations: 0 / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.145e-05/0.1836, allocations: 53.62 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1836, allocations: 4 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1836, allocations: 3.938 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1836, allocations: 0 / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.1837, allocations: 11.98 kB / 0.9551 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1837, allocations: 0 / 0.9551 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.1837, allocations: 8 kB / 0.9551 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1837, allocations: 0 / 0.9551 GB, free: 14.4 MB / 0.9167 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.998e-05/0.1838, allocations: 160.5 kB / 0.9552 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.1838, allocations: 0 / 0.9552 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.1838, allocations: 11.3 kB / 0.9552 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1838, allocations: 4 kB / 0.9552 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1838, allocations: 3.938 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1838, allocations: 336 / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.475e-05/0.1839, allocations: 112.6 kB / 0.9554 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.1839, allocations: 0 / 0.9554 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/0.1839, allocations: 8 kB / 0.9554 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1839, allocations: 4 kB / 0.9554 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.1839, allocations: 3.984 kB / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1839, allocations: 3.984 kB / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1839, allocations: 0 / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.976e-05/0.184, allocations: 191.8 kB / 0.9556 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.184, allocations: 3.953 kB / 0.9556 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.184, allocations: 0 / 0.9556 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.262e-05/0.1841, allocations: 11.98 kB / 0.9556 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.1841, allocations: 0 / 0.9556 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.1841, allocations: 4.031 kB / 0.9556 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.1841, allocations: 131.2 kB / 0.9557 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1841, allocations: 0 / 0.9557 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001545/0.1843, allocations: 15.94 kB / 0.9557 GB, free: 13.68 MB / 0.9167 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.0001276/0.1844, allocations: 107.2 kB / 0.9558 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.845e-05/0.1845, allocations: 23.67 kB / 0.9558 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1845, allocations: 0 / 0.9558 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.1845, allocations: 23.61 kB / 0.9559 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.1848, allocations: 7.938 kB / 0.9559 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.1854, allocations: 132.6 kB / 0.956 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.142e-05/0.1854, allocations: 55.36 kB / 0.9561 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.614e-05/0.1854, allocations: 8.047 kB / 0.9561 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.1855, allocations: 12.5 kB / 0.9561 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/0.1855, allocations: 0 / 0.9561 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of Templates: time 0.003169/0.1887, allocations: 0.8137 MB / 0.9569 GB, free: 12.46 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.249708118150011]