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.001245/0.001245, allocations: 89.06 kB / 19.65 MB, free: 268 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.001299/0.001299, allocations: 173 kB / 23.02 MB, free: 1.539 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 1.03/1.03, allocations: 177.2 MB / 203.4 MB, free: 5.629 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.137/2.137, allocations: 429.5 MB / 0.6733 GB, free: 4.012 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.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.994e-06/1.994e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/2.047e-05, allocations: 5.516 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002176/0.002197, allocations: 1.323 MB / 0.8795 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.003526, allocations: 0.8338 MB / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.003549, allocations: 0 / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.003578, allocations: 8.984 kB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.00363, allocations: 7.938 kB / 0.8803 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.004163, allocations: 128.4 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.857e-05/0.004241, allocations: 24.95 kB / 0.8804 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.00428, allocations: 8 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.004341, allocations: 11.92 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.004404, allocations: 17.03 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.00442, allocations: 0 / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.00472, allocations: 159.7 kB / 0.8806 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.00474, allocations: 8.578 kB / 0.8806 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.004763, allocations: 7.469 kB / 0.8807 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.005017, allocations: 139.6 kB / 0.8808 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.005021, allocations: 4 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.62e-07/0.005021, allocations: 3.938 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.005025, allocations: 0 / 0.8808 GB, free: 3.625 MB / 0.8386 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.000438/0.005463, allocations: 388.3 kB / 0.8812 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.005504, allocations: 8.031 kB / 0.8812 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.005555, allocations: 8.938 kB / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.005647, allocations: 116.5 kB / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.193e-05/0.005728, allocations: 56.88 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.005743, allocations: 4.375 kB / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.005887, allocations: 77.25 kB / 0.8814 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.005895, allocations: 192 / 0.8814 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.005909, allocations: 5.719 kB / 0.8814 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.005919, allocations: 4.125 kB / 0.8814 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.034e-05/0.005959, allocations: 11.92 kB / 0.8814 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.006112, allocations: 114 kB / 0.8816 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.006318, allocations: 47.09 kB / 0.8816 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.006348, allocations: 15.69 kB / 0.8816 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.006564, allocations: 33.78 kB / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.006593, allocations: 37.39 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 3.567e-06/0.006597, allocations: 3.984 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001758/0.006772, allocations: 57.62 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.006802, allocations: 51.41 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.006888, allocations: 165.9 kB / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.0069, allocations: 25.7 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.006936, allocations: 126.9 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.006965, allocations: 11.91 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.007003, allocations: 23.38 kB / 0.8821 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.007133, allocations: 496.1 kB / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.007152, allocations: 11.94 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.643e-05/0.007168, allocations: 8 kB / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.00721, allocations: 23.69 kB / 0.8826 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007212, allocations: 0 / 0.8826 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.027e-05/0.007292, allocations: 53.62 kB / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.007306, allocations: 4 kB / 0.8827 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007311, allocations: 0 / 0.8827 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.007327, allocations: 0 / 0.8827 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.726e-05/0.007374, allocations: 11.98 kB / 0.8827 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.00738, allocations: 3.938 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.007403, allocations: 11.89 kB / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.00741, allocations: 4 kB / 0.8827 GB, free: 1.422 MB / 0.8386 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 6.798e-05/0.007478, allocations: 152.6 kB / 0.8829 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.007489, allocations: 4 kB / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.007608, allocations: 61.3 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.00761, allocations: 0 / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.007614, allocations: 0 / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.007618, allocations: 7.938 kB / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.153e-05/0.007699, allocations: 116.6 kB / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.0077, allocations: 0 / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.00773, allocations: 8 kB / 0.8831 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.007733, allocations: 4 kB / 0.8831 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.00774, allocations: 0 / 0.8831 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.007741, allocations: 0 / 0.8831 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007742, allocations: 0 / 0.8831 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.865e-05/0.00784, allocations: 92.88 kB / 0.8831 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.007879, allocations: 11.94 kB / 0.8832 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.007891, allocations: 0 / 0.8832 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.713e-05/0.007918, allocations: 0 / 0.8832 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.007955, allocations: 7.984 kB / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.00796, allocations: 0 / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.687e-05/0.008007, allocations: 139.2 kB / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008007, allocations: 0 / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005532/0.00856, allocations: 31.88 kB / 0.8833 GB, free: 0.7188 MB / 0.8386 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.0002168/0.008777, allocations: 151 kB / 0.8835 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.008881, allocations: 23.67 kB / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008883, allocations: 0 / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.008913, allocations: 23.61 kB / 0.8835 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.009126, allocations: 12 kB / 0.8835 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/0.009755, allocations: 126.3 kB / 0.8837 GB, free: 352 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.596e-05/0.00979, allocations: 55.36 kB / 0.8837 GB, free: 276 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.009828, allocations: 11.98 kB / 0.8837 GB, free: 264 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.009858, allocations: 8.5 kB / 0.8837 GB, free: 256 kB / 0.8386 GB Notification: Performance of SimCode: time 7.12e-07/0.009858, allocations: 0 / 0.8837 GB, free: 256 kB / 0.8386 GB Notification: Performance of Templates: time 0.003498/0.01336, allocations: 1.163 MB / 0.8849 GB, free: 15.1 MB / 0.8542 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 -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.436076244339347]