Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001273/0.001273, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001376/0.001376, allocations: 216.1 kB / 23.01 MB, free: 4.609 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.078 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.319/3.319, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 70.88 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.422, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002649/0.4247, allocations: 1.293 MB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.4262, allocations: 0.849 MB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.4262, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.4262, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.4263, allocations: 7.922 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.4268, allocations: 131.4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.923e-05/0.4269, allocations: 27.86 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.4269, allocations: 3.984 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.301e-05/0.427, allocations: 8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.427, allocations: 19.91 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.4271, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.4274, allocations: 171.7 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.4274, allocations: 11.98 kB / 1.33 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.4274, allocations: 7.938 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.4277, allocations: 123.6 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4277, allocations: 4 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4277, allocations: 0 / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.4277, allocations: 0 / 1.33 GB, free: 14.8 MB / 1.029 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.0005166/0.4282, allocations: 295.5 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4283, allocations: 8.031 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.4283, allocations: 4.938 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.4284, allocations: 106.5 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.4285, allocations: 59.95 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.4285, allocations: 8.375 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.4287, allocations: 46.23 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4287, allocations: 3.938 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4287, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4287, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.4288, allocations: 19.98 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.429, allocations: 136.7 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.4293, allocations: 50.55 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.4293, allocations: 16.94 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.4296, allocations: 23.97 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4296, allocations: 30.56 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4296, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002608/0.4298, allocations: 77.48 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.4299, allocations: 55.41 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.43, allocations: 93.86 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.43, allocations: 29.7 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.43, allocations: 80.14 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.4301, allocations: 11.89 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.4301, allocations: 17.72 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4303, allocations: 314.8 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.4303, allocations: 15.98 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.4304, allocations: 4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.966e-05/0.4304, allocations: 28.84 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4304, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001338/0.4306, allocations: 53.62 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4306, allocations: 7.938 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4306, allocations: 3.984 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4306, allocations: 8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.256e-05/0.4307, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4307, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.4307, allocations: 7.938 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.4307, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 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 8.966e-05/0.4308, allocations: 109.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.4308, allocations: 16.39 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.431, allocations: 69.28 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.431, allocations: 8 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.431, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.431, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.4312, allocations: 128.7 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4312, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.4312, allocations: 8 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.4312, allocations: 3.938 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.4312, allocations: 4 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4312, allocations: 0 / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4312, allocations: 4 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.4314, allocations: 81.11 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.4314, allocations: 7.984 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.4314, allocations: 3.938 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.4315, allocations: 7.938 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.4315, allocations: 3.938 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4315, allocations: 11.98 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.4316, allocations: 75.28 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4316, allocations: 4 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002394/0.4318, allocations: 31.88 kB / 1.332 GB, free: 12.36 MB / 1.029 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.0002374/0.4321, allocations: 147.1 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.4322, allocations: 23.98 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4322, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.4323, allocations: 15.92 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.4325, allocations: 18.34 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.4329, allocations: 161 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.4332, allocations: 0.6729 MB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.4332, allocations: 11.42 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4332, allocations: 4 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of Templates: time 0.00289/0.4361, allocations: 1.032 MB / 1.334 GB, free: 10.21 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.437170838995371]