Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001443/0.001443, allocations: 108.5 kB / 16.45 MB, free: 6.457 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.001569/0.001569, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.517/1.517, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.143/3.143, allocations: 496.1 MB / 0.7801 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 63.77 kB / 1.133 GB, free: 34.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3965, allocations: 173.7 MB / 1.303 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003156/0.3996, allocations: 1.271 MB / 1.304 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007121/0.4004, allocations: 295.5 kB / 1.304 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.4004, allocations: 0 / 1.304 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.4004, allocations: 3.938 kB / 1.304 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.78e-05/0.4005, allocations: 3.984 kB / 1.304 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.4008, allocations: 55.75 kB / 1.304 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.585e-05/0.4009, allocations: 23.81 kB / 1.304 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.401, allocations: 3.984 kB / 1.304 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.401e-05/0.401, allocations: 4 kB / 1.304 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.4011, allocations: 11.98 kB / 1.304 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.4011, allocations: 0 / 1.304 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.4012, allocations: 51.95 kB / 1.304 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.4012, allocations: 11.92 kB / 1.304 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.4013, allocations: 4 kB / 1.304 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.4014, allocations: 55.77 kB / 1.304 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4014, allocations: 4 kB / 1.304 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4014, allocations: 0 / 1.304 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.4015, allocations: 0 / 1.304 GB, free: 0.8086 MB / 0.9981 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.0005068/0.402, allocations: 335.4 kB / 1.305 GB, free: 440 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.402, allocations: 8.031 kB / 1.305 GB, free: 432 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.4023, allocations: 20.91 kB / 1.305 GB, free: 412 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.4024, allocations: 160.4 kB / 1.305 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.4024, allocations: 4.312 kB / 1.305 GB, free: 208 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.4024, allocations: 8.375 kB / 1.305 GB, free: 200 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.4026, allocations: 38.25 kB / 1.305 GB, free: 156 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4026, allocations: 8.125 kB / 1.305 GB, free: 148 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4026, allocations: 3.938 kB / 1.305 GB, free: 144 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4026, allocations: 0 / 1.305 GB, free: 144 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.168e-05/0.4027, allocations: 15.98 kB / 1.305 GB, free: 128 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.4029, allocations: 157.8 kB / 1.305 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.4047, allocations: 266.4 kB / 1.305 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.4048, allocations: 12.86 kB / 1.305 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.4048, allocations: 4 kB / 1.305 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.4048, allocations: 42.5 kB / 1.305 GB, free: 15.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4048, allocations: 0 / 1.305 GB, free: 15.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002137/0.405, allocations: 69.56 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.4051, allocations: 51.41 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.266e-05/0.4051, allocations: 93.86 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4052, allocations: 25.7 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.4052, allocations: 84.14 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.4053, allocations: 11.84 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.4053, allocations: 21.84 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4055, allocations: 314.8 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.4055, allocations: 8 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.4055, allocations: 4 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.9e-05/0.4056, allocations: 37.06 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.4056, allocations: 3.984 kB / 1.306 GB, free: 14.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.426e-05/0.4057, allocations: 49.7 kB / 1.306 GB, free: 14.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4057, allocations: 4 kB / 1.306 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4057, allocations: 3.938 kB / 1.306 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4057, allocations: 8 kB / 1.306 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.4058, allocations: 7.984 kB / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4058, allocations: 0 / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.4058, allocations: 0 / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4058, allocations: 11.98 kB / 1.306 GB, free: 14.72 MB / 1.014 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.681e-05/0.4059, allocations: 109.8 kB / 1.306 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.4059, allocations: 0 / 1.306 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.406, allocations: 11.44 kB / 1.306 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.406, allocations: 8 kB / 1.306 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.406, allocations: 0 / 1.306 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.406, allocations: 0 / 1.306 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.4062, allocations: 157.6 kB / 1.306 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4062, allocations: 0 / 1.306 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.4062, allocations: 15.98 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4062, allocations: 3.938 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.4063, allocations: 3.938 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4063, allocations: 0 / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4063, allocations: 0 / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.4064, allocations: 81.08 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.4065, allocations: 81.11 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.4065, allocations: 3.938 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.941e-05/0.4066, allocations: 7.984 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.4066, allocations: 3.938 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.4066, allocations: 4 kB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.4066, allocations: 79.22 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4066, allocations: 0 / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001962/0.4068, allocations: 12.09 kB / 1.307 GB, free: 14.05 MB / 1.014 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.0001375/0.407, allocations: 95.25 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.4071, allocations: 23.98 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4071, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.82e-05/0.4071, allocations: 15.94 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.4074, allocations: 11.98 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.4078, allocations: 130.5 kB / 1.307 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.4082, allocations: 0.6729 MB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.862e-05/0.4082, allocations: 7.984 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.4082, allocations: 11.44 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/0.4082, allocations: 0 / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of Templates: time 0.003219/0.4115, allocations: 0.52 MB / 1.308 GB, free: 12.51 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.936551074497402]