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.001284/0.001284, allocations: 93.16 kB / 19.65 MB, free: 292 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.001092/0.001092, allocations: 172.9 kB / 23.02 MB, free: 1.562 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.9269/0.9269, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.045/2.045, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.543e-06/1.543e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.761e-05, allocations: 3.469 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001803/0.001831, allocations: 1.337 MB / 0.8795 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.002827, allocations: 0.839 MB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.002852, allocations: 0 / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.002875, allocations: 0 / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.002923, allocations: 7.875 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.003486, allocations: 133.5 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.2e-05/0.003568, allocations: 23.86 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.003612, allocations: 7.984 kB / 0.8805 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.003672, allocations: 16.48 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.003734, allocations: 7.938 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.00375, allocations: 0.8438 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.004016, allocations: 163.7 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.004038, allocations: 15.36 kB / 0.8807 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.004063, allocations: 4 kB / 0.8807 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.00428, allocations: 135.6 kB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004283, allocations: 0 / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004284, allocations: 0 / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.004289, allocations: 0 / 0.8808 GB, free: 3.648 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.0004009/0.00469, allocations: 391.9 kB / 0.8812 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.004731, allocations: 16.02 kB / 0.8812 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.004777, allocations: 4.938 kB / 0.8812 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.857e-05/0.004866, allocations: 117.1 kB / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.004942, allocations: 57.19 kB / 0.8813 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.004952, allocations: 384 / 0.8813 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.005082, allocations: 80.66 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.00509, allocations: 1.719 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.0051, allocations: 384 / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.005109, allocations: 4.125 kB / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.179e-05/0.005141, allocations: 11.98 kB / 0.8814 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.005275, allocations: 116.6 kB / 0.8816 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.00545, allocations: 51.03 kB / 0.8816 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.005473, allocations: 15.69 kB / 0.8816 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.005628, allocations: 24.06 kB / 0.8816 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.005652, allocations: 37.39 kB / 0.8817 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.005653, allocations: 0 / 0.8817 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000146/0.005799, allocations: 57.67 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.005827, allocations: 51.41 kB / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.005894, allocations: 170 kB / 0.8819 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.005906, allocations: 29.7 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.005938, allocations: 126.9 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.005964, allocations: 7.906 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.005994, allocations: 27.36 kB / 0.8821 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.006102, allocations: 492.1 kB / 0.8826 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.006121, allocations: 8 kB / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.21e-05/0.006134, allocations: 4 kB / 0.8826 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.293e-05/0.006176, allocations: 27.67 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006179, allocations: 4 kB / 0.8826 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.048e-05/0.006239, allocations: 45.69 kB / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.006252, allocations: 7.938 kB / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.006256, allocations: 7.938 kB / 0.8827 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.00627, allocations: 0 / 0.8827 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.695e-05/0.006307, allocations: 4 kB / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.006313, allocations: 3.938 kB / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.006332, allocations: 15.89 kB / 0.8827 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.006337, allocations: 0 / 0.8827 GB, free: 1.445 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.173e-05/0.006398, allocations: 160.6 kB / 0.8829 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.006405, allocations: 4 kB / 0.8829 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/0.006505, allocations: 57.38 kB / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006507, allocations: 0 / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.006511, allocations: 0 / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.006514, allocations: 3.938 kB / 0.8829 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.453e-05/0.006589, allocations: 116.6 kB / 0.883 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.00659, allocations: 3.938 kB / 0.883 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.006615, allocations: 8 kB / 0.8831 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006616, allocations: 0 / 0.8831 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.006623, allocations: 0 / 0.8831 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.006624, allocations: 4 kB / 0.8831 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.006625, allocations: 0 / 0.8831 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.3e-05/0.006698, allocations: 92.38 kB / 0.8831 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.006733, allocations: 7.938 kB / 0.8832 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.006743, allocations: 4 kB / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/0.006761, allocations: 0 / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.006797, allocations: 3.984 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.006802, allocations: 4 kB / 0.8832 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.006837, allocations: 127.5 kB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006837, allocations: 0 / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001782/0.007015, allocations: 43.8 kB / 0.8833 GB, free: 0.7383 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.0001898/0.007205, allocations: 147 kB / 0.8835 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.007295, allocations: 23.77 kB / 0.8835 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007296, allocations: 0 / 0.8835 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-05/0.007318, allocations: 23.75 kB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.007465, allocations: 11.94 kB / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.007957, allocations: 138.2 kB / 0.8837 GB, free: 364 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.921e-05/0.007986, allocations: 55.36 kB / 0.8837 GB, free: 288 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.008015, allocations: 3.984 kB / 0.8837 GB, free: 284 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.008043, allocations: 16.5 kB / 0.8837 GB, free: 268 kB / 0.8386 GB Notification: Performance of SimCode: time 9.32e-07/0.008044, allocations: 0 / 0.8837 GB, free: 268 kB / 0.8386 GB Notification: Performance of Templates: time 0.0032/0.01124, allocations: 1.267 MB / 0.885 GB, free: 15 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.11560509679839]