Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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.0009382/0.0009382, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001243/0.001243, allocations: 181 kB / 23.36 MB, free: 1.133 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.9821/0.9821, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.51/2.51, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.182e-05, allocations: 4.844 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001937/0.001959, allocations: 1.376 MB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.003048, allocations: 0.8408 MB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.003075, allocations: 0 / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.003093, allocations: 0 / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.003137, allocations: 0 / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.003658, allocations: 135.2 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.51e-05/0.003733, allocations: 23.88 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.00377, allocations: 7.984 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.26e-05/0.003832, allocations: 19.97 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.003885, allocations: 4 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.003897, allocations: 0 / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.004283, allocations: 171.6 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.004301, allocations: 0 / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.004322, allocations: 15.92 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.0046, allocations: 135.6 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004603, allocations: 4 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.583e-06/0.004605, allocations: 0 / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.004609, allocations: 0 / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003705/0.004979, allocations: 264.3 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.00502, allocations: 8.625 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.005055, allocations: 8.938 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.476e-05/0.00515, allocations: 109.7 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/0.005231, allocations: 63.94 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.005241, allocations: 4.375 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.00536, allocations: 80.59 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.005369, allocations: 4.188 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.005377, allocations: 384 / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.005384, allocations: 4.125 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.005413, allocations: 8 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.005534, allocations: 65.02 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.005688, allocations: 30.58 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.005713, allocations: 8.859 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.005887, allocations: 32.11 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.005915, allocations: 34.5 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.005917, allocations: 0 / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001238/0.00604, allocations: 45.69 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.006072, allocations: 59.39 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.006137, allocations: 98.72 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.006148, allocations: 25.7 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.00617, allocations: 80.14 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.006195, allocations: 11.89 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.006223, allocations: 21.7 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.006294, allocations: 322.8 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.006307, allocations: 8 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-06/0.006316, allocations: 3.938 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.006346, allocations: 16.84 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006348, allocations: 0 / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.224e-05/0.0064, allocations: 42.16 kB / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.006412, allocations: 8 kB / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.00642, allocations: 0 / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.006433, allocations: 0 / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.006474, allocations: 4 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.006478, allocations: 7.984 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.439e-05/0.006493, allocations: 7.938 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.006498, allocations: 3.938 kB / 0.8427 GB, free: 9.785 MB / 0.8073 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 (4): * Single equations (assignments): 4 * 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.261e-05/0.006551, allocations: 113.8 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.00656, allocations: 12.03 kB / 0.8428 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.846e-05/0.006639, allocations: 53.3 kB / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00664, allocations: 0 / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006642, allocations: 0 / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006645, allocations: 0 / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.869e-05/0.006704, allocations: 69.84 kB / 0.8429 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.006705, allocations: 8 kB / 0.843 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.006727, allocations: 7.984 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006729, allocations: 0 / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-06/0.006732, allocations: 0 / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.006734, allocations: 4 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006735, allocations: 0 / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.63e-05/0.006792, allocations: 69 kB / 0.843 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.006816, allocations: 8 kB / 0.843 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.006826, allocations: 7.984 kB / 0.843 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.006844, allocations: 0 / 0.843 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.00687, allocations: 8 kB / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.006874, allocations: 0 / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.969e-06/0.006884, allocations: 12.84 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006884, allocations: 0 / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001448/0.007029, allocations: 35.88 kB / 0.8431 GB, free: 9.328 MB / 0.8073 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 (4): * Single equations (assignments): 4 * 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.0001658/0.007195, allocations: 120.2 kB / 0.8432 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.099e-05/0.007256, allocations: 24.78 kB / 0.8432 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.007259, allocations: 0 / 0.8432 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.705e-05/0.007276, allocations: 20.84 kB / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.00738, allocations: 15.94 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.007795, allocations: 128.7 kB / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.007824, allocations: 55.34 kB / 0.8435 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.007855, allocations: 8 kB / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.007905, allocations: 59.31 kB / 0.8435 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.007905, allocations: 0 / 0.8435 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of Templates: time 0.002785/0.01069, allocations: 1.29 MB / 0.8448 GB, free: 7.566 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_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.422435398213565]