Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.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.001407/0.001407, allocations: 76.23 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001525/0.001525, allocations: 165.1 kB / 22.45 MB, free: 5.371 MB / 14.72 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.539/1.539, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.886/2.886, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] 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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.251e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002608/0.002641, allocations: 1.509 MB / 0.9829 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.003978, allocations: 0.7554 MB / 0.9836 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.004009, allocations: 0 / 0.9836 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.004036, allocations: 3.938 kB / 0.9836 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.281e-05/0.004089, allocations: 7.875 kB / 0.9836 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.004552, allocations: 147.2 kB / 0.9838 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.54e-05/0.004647, allocations: 55.78 kB / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.922e-05/0.004736, allocations: 8 kB / 0.9838 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.00481, allocations: 35.84 kB / 0.9839 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.004855, allocations: 15.97 kB / 0.9839 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.004873, allocations: 4 kB / 0.9839 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.005207, allocations: 167.6 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.005226, allocations: 4 kB / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.005261, allocations: 19.92 kB / 0.9841 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.005586, allocations: 171.5 kB / 0.9842 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.005589, allocations: 0 / 0.9842 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00559, allocations: 4 kB / 0.9842 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.005594, allocations: 0 / 0.9842 GB, free: 9.047 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005693/0.006163, allocations: 325.8 kB / 0.9845 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.006199, allocations: 8.031 kB / 0.9845 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.006236, allocations: 4.938 kB / 0.9846 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.006353, allocations: 113.7 kB / 0.9847 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.006365, allocations: 384 / 0.9847 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.006378, allocations: 8.375 kB / 0.9847 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.006661, allocations: 82.14 kB / 0.9847 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.00667, allocations: 192 / 0.9847 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.006681, allocations: 384 / 0.9847 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.006685, allocations: 384 / 0.9847 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.007005, allocations: 71.86 kB / 0.9848 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.007392, allocations: 224.5 kB / 0.985 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.007622, allocations: 58.48 kB / 0.9851 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.007792, allocations: 40.91 kB / 0.9851 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.007943, allocations: 11.98 kB / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.007976, allocations: 38.5 kB / 0.9852 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.007977, allocations: 3.938 kB / 0.9852 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0006081/0.008585, allocations: 129.6 kB / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.008627, allocations: 51.41 kB / 0.9854 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.008729, allocations: 117.7 kB / 0.9855 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.008749, allocations: 29.7 kB / 0.9855 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.008803, allocations: 88.09 kB / 0.9856 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.008829, allocations: 11.89 kB / 0.9856 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.008867, allocations: 17.7 kB / 0.9856 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.009015, allocations: 318.8 kB / 0.9859 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.009182, allocations: 31.97 kB / 0.9859 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.009337, allocations: 32.14 kB / 0.986 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.009643, allocations: 72.86 kB / 0.986 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.009644, allocations: 4 kB / 0.986 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003671/0.01001, allocations: 101.5 kB / 0.9861 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.01003, allocations: 11.94 kB / 0.9862 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01003, allocations: 0 / 0.9862 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.01005, allocations: 0 / 0.9862 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.01018, allocations: 11.98 kB / 0.9862 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.01019, allocations: 8 kB / 0.9862 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.601e-05/0.01028, allocations: 11.97 kB / 0.9862 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.01029, allocations: 4 kB / 0.9862 GB, free: 6.867 MB / 0.9356 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 9.434e-05/0.01038, allocations: 109.8 kB / 0.9863 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.01042, allocations: 7.938 kB / 0.9863 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.01085, allocations: 105.6 kB / 0.9864 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01085, allocations: 4 kB / 0.9864 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01085, allocations: 0 / 0.9864 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01086, allocations: 0 / 0.9864 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.01102, allocations: 113.3 kB / 0.9865 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01102, allocations: 0 / 0.9865 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.01112, allocations: 23.91 kB / 0.9865 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01113, allocations: 0 / 0.9865 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01114, allocations: 3.938 kB / 0.9865 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01114, allocations: 0 / 0.9865 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01114, allocations: 0 / 0.9865 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.01156, allocations: 195.5 kB / 0.9867 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.01158, allocations: 11.88 kB / 0.9867 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.01159, allocations: 7.938 kB / 0.9867 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.01171, allocations: 7.984 kB / 0.9867 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.01176, allocations: 8 kB / 0.9868 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.01177, allocations: 0 / 0.9868 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.01183, allocations: 91.58 kB / 0.9868 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01183, allocations: 4 kB / 0.9868 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003093/0.01214, allocations: 39.86 kB / 0.9869 GB, free: 6.086 MB / 0.9356 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 (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 Backend phase and start with SimCode phase: time 0.0002641/0.0124, allocations: 135.1 kB / 0.987 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.01277, allocations: 63.92 kB / 0.9871 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01277, allocations: 0 / 0.9871 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.01294, allocations: 43.95 kB / 0.9871 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.01327, allocations: 12 kB / 0.9871 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.01367, allocations: 140.8 kB / 0.9873 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.611e-05/0.01374, allocations: 67.34 kB / 0.9873 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.01378, allocations: 8.328 kB / 0.9873 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.01381, allocations: 8.5 kB / 0.9873 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.01381, allocations: 4 kB / 0.9873 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of Templates: time 0.004746/0.01856, allocations: 1.408 MB / 0.9887 GB, free: 4.164 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.141266275197268]