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.0008446/0.0008446, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008166/0.0008166, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9338/0.9338, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.797/1.797, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] 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.703e-06/1.703e-06, allocations: 0 / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.613e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.0019/0.001926, allocations: 1.5 MB / 0.9836 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.002847, allocations: 0.7592 MB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.002883, allocations: 4 kB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.002913, allocations: 3.938 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.002959, allocations: 7.875 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.003351, allocations: 139.2 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 8.054e-05/0.003432, allocations: 59.78 kB / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.003529, allocations: 8 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.003585, allocations: 27.95 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.003627, allocations: 23.92 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.003644, allocations: 4 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.003883, allocations: 167.6 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.003899, allocations: 4 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.003925, allocations: 23.91 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.004147, allocations: 167.5 kB / 0.985 GB, free: 15.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00415, allocations: 0 / 0.985 GB, free: 15.22 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.004151, allocations: 0 / 0.985 GB, free: 15.22 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.004155, allocations: 0 / 0.985 GB, free: 15.22 MB / 0.948 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.0004032/0.004558, allocations: 329.8 kB / 0.9853 GB, free: 14.87 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.004595, allocations: 8.031 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.004626, allocations: 4.938 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.485e-05/0.004711, allocations: 113.7 kB / 0.9854 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.004722, allocations: 384 / 0.9854 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.004733, allocations: 8.375 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.004985, allocations: 78.14 kB / 0.9855 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.004993, allocations: 192 / 0.9855 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.005004, allocations: 384 / 0.9855 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.005009, allocations: 4.375 kB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.005161, allocations: 75.8 kB / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.005451, allocations: 220.5 kB / 0.9858 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.005575, allocations: 50.48 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.767e-05/0.005652, allocations: 44.91 kB / 0.9859 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.005775, allocations: 15.98 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.005795, allocations: 38.5 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.005796, allocations: 0 / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003118/0.006108, allocations: 129.6 kB / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.006136, allocations: 51.41 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.398e-05/0.0062, allocations: 113.8 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.006212, allocations: 29.7 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.006252, allocations: 92.03 kB / 0.9863 GB, free: 13.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.006272, allocations: 11.89 kB / 0.9863 GB, free: 13.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.0063, allocations: 17.7 kB / 0.9864 GB, free: 13.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.006381, allocations: 314.8 kB / 0.9867 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.006457, allocations: 35.97 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.006524, allocations: 35.95 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.006665, allocations: 73.05 kB / 0.9868 GB, free: 13.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006668, allocations: 0 / 0.9868 GB, free: 13.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001706/0.006838, allocations: 109.5 kB / 0.9869 GB, free: 13.08 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.00685, allocations: 4 kB / 0.9869 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.006855, allocations: 0 / 0.9869 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.006868, allocations: 4 kB / 0.9869 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/0.006941, allocations: 11.98 kB / 0.9869 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.006946, allocations: 0 / 0.9869 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/0.006984, allocations: 15.97 kB / 0.9869 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.00699, allocations: 0 / 0.9869 GB, free: 13.05 MB / 0.948 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 5.745e-05/0.007048, allocations: 117.8 kB / 0.9871 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.007062, allocations: 7.938 kB / 0.9871 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.007264, allocations: 101.6 kB / 0.9872 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.007265, allocations: 4 kB / 0.9872 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.00727, allocations: 0 / 0.9872 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007274, allocations: 384 / 0.9872 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.388e-05/0.007368, allocations: 113.3 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007369, allocations: 4 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.007413, allocations: 23.91 kB / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.007415, allocations: 3.938 kB / 0.9873 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.007422, allocations: 3.938 kB / 0.9873 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007424, allocations: 0 / 0.9873 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.007427, allocations: 3.984 kB / 0.9873 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.007624, allocations: 191.5 kB / 0.9875 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.007631, allocations: 7.953 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.007644, allocations: 7.922 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.013e-05/0.007694, allocations: 11.98 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.007733, allocations: 4 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007738, allocations: 4 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.007768, allocations: 87.27 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007768, allocations: 3.938 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002043/0.007973, allocations: 39.81 kB / 0.9876 GB, free: 12.26 MB / 0.948 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.0001896/0.008162, allocations: 135.2 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.008355, allocations: 67.92 kB / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008356, allocations: 0 / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.00843, allocations: 35.95 kB / 0.9879 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.008652, allocations: 16 kB / 0.9879 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.008948, allocations: 170.5 kB / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.008993, allocations: 63.34 kB / 0.9881 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.009021, allocations: 12.5 kB / 0.9881 GB, free: 11.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/0.009022, allocations: 0 / 0.9881 GB, free: 11.7 MB / 0.948 GB Notification: Performance of Templates: time 0.002102/0.01112, allocations: 1.239 MB / 0.9893 GB, free: 10.46 MB / 0.948 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: 6.723522447049618]