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.001849/0.001849, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002356/0.002356, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.509/1.509, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.00204/0.00204, allocations: 67.89 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9316/0.9337, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002464/0.9361, allocations: 1.279 MB / 1.275 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.9375, allocations: 0.8389 MB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.9376, allocations: 4 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.9376, allocations: 3.938 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.574e-05/0.9376, allocations: 0 / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.9381, allocations: 131.4 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.9382, allocations: 31.86 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.9383, allocations: 0 / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.9383, allocations: 15.92 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.9384, allocations: 15.92 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.9384, allocations: 4 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.9387, allocations: 163.8 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.9387, allocations: 11.88 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.9388, allocations: 7.938 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.939, allocations: 122.4 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.939, allocations: 0 / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.939, allocations: 0 / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.939, allocations: 0 / 1.277 GB, free: 1.93 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.0004848/0.9395, allocations: 363.1 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.9395, allocations: 12.03 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.9396, allocations: 12.89 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.9397, allocations: 164.3 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/0.9398, allocations: 38.25 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.9398, allocations: 384 / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.9399, allocations: 46.19 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9399, allocations: 3.938 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.94, allocations: 0 / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.94, allocations: 4 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.442e-05/0.9401, allocations: 15.98 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.9402, allocations: 157.7 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.9405, allocations: 42.61 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.9405, allocations: 16.94 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.9408, allocations: 182.2 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.9409, allocations: 34.56 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.9409, allocations: 3.938 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002624/0.9411, allocations: 65.61 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.9412, allocations: 55.41 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.9412, allocations: 102 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.9413, allocations: 25.7 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.9413, allocations: 84.14 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.9413, allocations: 19.88 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.9414, allocations: 13.72 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.9415, allocations: 310.8 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.9416, allocations: 15.98 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/0.9416, allocations: 4 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.9417, allocations: 36.78 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9418, allocations: 4 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001428/0.9419, allocations: 57.62 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.9419, allocations: 11.88 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.9419, allocations: 7.984 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.9419, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/0.942, allocations: 7.938 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.942, allocations: 0 / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.443e-05/0.942, allocations: 8 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.942, allocations: 0 / 1.278 GB, free: 15.77 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 9.242e-05/0.9421, allocations: 118.4 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.9421, allocations: 7.875 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.9423, allocations: 65.17 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.9423, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9423, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.9423, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.9425, allocations: 161.6 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9425, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.9425, allocations: 8 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.9425, allocations: 7.938 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.9425, allocations: 3.984 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9425, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9425, allocations: 8 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.9427, allocations: 81.02 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.9428, allocations: 85.09 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.9428, allocations: 3.938 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.9429, allocations: 8 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.9429, allocations: 7.984 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.9429, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.468e-05/0.943, allocations: 79.7 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.943, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002483/0.9432, allocations: 31.88 kB / 1.279 GB, free: 15.01 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.0002439/0.9434, allocations: 140.8 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.9436, allocations: 39.84 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9436, allocations: 4 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-05/0.9437, allocations: 8.234 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.9439, allocations: 11.98 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.9442, allocations: 131.1 kB / 1.279 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.9446, allocations: 0.6807 MB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.914e-05/0.9446, allocations: 7.984 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.9446, allocations: 11.44 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9446, allocations: 3.938 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of Templates: time 0.003926/0.9486, allocations: 1.075 MB / 1.281 GB, free: 12.85 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.090689652133733]