Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 189.9 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7646 GB, free: 9.844 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 71.89 kB / 1.11 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9177/0.9197, allocations: 168.8 MB / 1.274 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003877/0.9236, allocations: 1.276 MB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.9256, allocations: 0.8466 MB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.9256, allocations: 0 / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.9257, allocations: 0 / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.9257, allocations: 7.938 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007788/0.9265, allocations: 139.3 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.9266, allocations: 27.86 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.177e-05/0.9267, allocations: 3.984 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.9267, allocations: 15.94 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.9268, allocations: 7.984 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.9268, allocations: 0 / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005691/0.9274, allocations: 171.7 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.9274, allocations: 3.938 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.9275, allocations: 8 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.9279, allocations: 122.1 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.9279, allocations: 4 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9279, allocations: 0 / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.9279, allocations: 0 / 1.277 GB, free: 1.574 MB / 0.9669 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.0006765/0.9286, allocations: 286.1 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.9286, allocations: 15.97 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.9287, allocations: 4.891 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.9288, allocations: 114.4 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.9289, allocations: 26.27 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.929, allocations: 12.34 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.9292, allocations: 46.25 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.9292, allocations: 3.938 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.9292, allocations: 4 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.9292, allocations: 0 / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.9294, allocations: 19.98 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002348/0.9296, allocations: 128.8 kB / 1.278 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.9299, allocations: 50.5 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.93, allocations: 16.94 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.9302, allocations: 19.98 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.9303, allocations: 38.55 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.9303, allocations: 0 / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003572/0.9306, allocations: 65.62 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/0.9307, allocations: 59.39 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.9308, allocations: 101.8 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.9309, allocations: 25.7 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.9309, allocations: 80.14 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.931, allocations: 7.906 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.931, allocations: 21.7 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.9312, allocations: 310.8 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.667e-05/0.9313, allocations: 16 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.9313, allocations: 7.984 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.9315, allocations: 32.84 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9315, allocations: 0 / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002953/0.9318, allocations: 53.64 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.9318, allocations: 11.88 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9318, allocations: 7.938 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.9318, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.9319, allocations: 11.98 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.9319, allocations: 0 / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.9319, allocations: 4.516 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.932, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 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 0.0001082/0.9321, allocations: 113.8 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.9321, allocations: 3.938 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.9324, allocations: 73.33 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.9324, allocations: 4 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.9324, allocations: 0 / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9324, allocations: 0 / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.9326, allocations: 132.6 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9326, allocations: 4 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.9326, allocations: 4 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.9326, allocations: 3.938 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.9327, allocations: 4 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.9327, allocations: 4 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9327, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.9329, allocations: 89.06 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.9329, allocations: 3.984 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.933, allocations: 7.922 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.933, allocations: 8 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.9331, allocations: 0 / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.9331, allocations: 8 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.92e-05/0.9332, allocations: 79.27 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9332, allocations: 4 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004599/0.9336, allocations: 35.81 kB / 1.279 GB, free: 15.16 MB / 0.9825 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.0003215/0.9339, allocations: 135.1 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.9342, allocations: 23.98 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9342, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.9342, allocations: 11.98 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.9346, allocations: 14.41 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.935, allocations: 131.3 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.9354, allocations: 0.6768 MB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.788e-05/0.9354, allocations: 11.94 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.9355, allocations: 11.44 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.9355, allocations: 0 / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of Templates: time 0.005754/0.9412, allocations: 1.08 MB / 1.281 GB, free: 13 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.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.899627586826682]