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.001394/0.001394, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001499/0.001499, allocations: 169 kB / 23.49 MB, free: 1.055 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.962/0.962, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.11/2.11, allocations: 429.5 MB / 0.6736 GB, free: 4.016 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.723e-06/1.723e-06, allocations: 0 / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.564e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002546/0.002572, allocations: 1.33 MB / 0.8795 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.003933, allocations: 0.8284 MB / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.003967, allocations: 1.094 kB / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.003992, allocations: 3.938 kB / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.004043, allocations: 3.938 kB / 0.8803 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.004621, allocations: 136.7 kB / 0.8804 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.615e-05/0.004717, allocations: 25.27 kB / 0.8805 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.004761, allocations: 4 kB / 0.8805 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.00483, allocations: 19.92 kB / 0.8805 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.0049, allocations: 13 kB / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.004918, allocations: 0 / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.005236, allocations: 159.7 kB / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.005256, allocations: 1.094 kB / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.00528, allocations: 8 kB / 0.8806 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.005554, allocations: 147.5 kB / 0.8808 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005556, allocations: 1.062 kB / 0.8808 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005557, allocations: 0 / 0.8808 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.005561, allocations: 0 / 0.8808 GB, free: 3.969 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.0004585/0.00602, allocations: 393.4 kB / 0.8812 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.006064, allocations: 8.031 kB / 0.8812 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.006117, allocations: 5.719 kB / 0.8812 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.006225, allocations: 116.6 kB / 0.8813 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.006313, allocations: 54.94 kB / 0.8813 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.006326, allocations: 4.375 kB / 0.8813 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.006473, allocations: 80.66 kB / 0.8814 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.006482, allocations: 4.172 kB / 0.8814 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.006495, allocations: 4.359 kB / 0.8814 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.006505, allocations: 4.125 kB / 0.8814 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.006549, allocations: 7.938 kB / 0.8814 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.006708, allocations: 120.6 kB / 0.8816 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.006899, allocations: 48.66 kB / 0.8816 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.006931, allocations: 15.77 kB / 0.8816 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.007138, allocations: 26.27 kB / 0.8816 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.00717, allocations: 37.38 kB / 0.8817 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.624e-06/0.007172, allocations: 4 kB / 0.8817 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001793/0.007351, allocations: 53.62 kB / 0.8817 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.007388, allocations: 51.91 kB / 0.8818 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.007484, allocations: 163.4 kB / 0.8819 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.007501, allocations: 29.7 kB / 0.882 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.007541, allocations: 126.9 kB / 0.8821 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.007582, allocations: 15.89 kB / 0.8821 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.00762, allocations: 24.28 kB / 0.8821 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.00778, allocations: 492.1 kB / 0.8826 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.007802, allocations: 4.625 kB / 0.8826 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.007819, allocations: 7.984 kB / 0.8826 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.007866, allocations: 21.28 kB / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007868, allocations: 0 / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.529e-05/0.007963, allocations: 53.62 kB / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.007977, allocations: 4 kB / 0.8827 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007981, allocations: 4 kB / 0.8827 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.007995, allocations: 0 / 0.8827 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.122e-05/0.008047, allocations: 8 kB / 0.8827 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.008056, allocations: 3.938 kB / 0.8827 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.00808, allocations: 11.89 kB / 0.8827 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.00809, allocations: 11.98 kB / 0.8827 GB, free: 1.773 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 7.862e-05/0.008168, allocations: 152.6 kB / 0.8829 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.008182, allocations: 4 kB / 0.8829 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.008306, allocations: 57.83 kB / 0.8829 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.008309, allocations: 8 kB / 0.8829 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.008313, allocations: 0 / 0.8829 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.008318, allocations: 3.938 kB / 0.8829 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.366e-05/0.008412, allocations: 116.7 kB / 0.883 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-06/0.008415, allocations: 3.984 kB / 0.8831 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.008449, allocations: 8 kB / 0.8831 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.008451, allocations: 0 / 0.8831 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.008463, allocations: 0 / 0.8831 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008465, allocations: 0 / 0.8831 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.008467, allocations: 3.984 kB / 0.8831 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.008576, allocations: 88.31 kB / 0.8831 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.008617, allocations: 15.95 kB / 0.8832 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.008629, allocations: 0 / 0.8832 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.033e-05/0.00866, allocations: 4 kB / 0.8832 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.0087, allocations: 3.984 kB / 0.8832 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.008705, allocations: 3.938 kB / 0.8832 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.008755, allocations: 127.1 kB / 0.8833 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.008755, allocations: 0 / 0.8833 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002797/0.009035, allocations: 39.86 kB / 0.8833 GB, free: 1.066 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.0002269/0.009262, allocations: 147 kB / 0.8835 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.009375, allocations: 27.67 kB / 0.8835 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.009377, allocations: 0 / 0.8835 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.00945, allocations: 19.62 kB / 0.8835 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.009616, allocations: 8 kB / 0.8835 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.0101, allocations: 130.3 kB / 0.8837 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.119e-05/0.01013, allocations: 59.34 kB / 0.8837 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.01016, allocations: 4 kB / 0.8837 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.01018, allocations: 12.5 kB / 0.8837 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/0.01018, allocations: 0 / 0.8837 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of Templates: time 0.002709/0.01289, allocations: 1.153 MB / 0.8849 GB, free: 15.46 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.47915103007108]