Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002065/0.002065, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.002672/0.002672, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437.1 MB / 0.7178 GB, free: 4.473 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 71.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3791, allocations: 151.6 MB / 1.176 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002305/0.3815, allocations: 1.275 MB / 1.177 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3828, allocations: 0.8345 MB / 1.178 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.3829, allocations: 0 / 1.178 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.3829, allocations: 3.938 kB / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.3829, allocations: 0 / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.3834, allocations: 135.4 kB / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.3835, allocations: 23.92 kB / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.3836, allocations: 0 / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.3836, allocations: 19.86 kB / 1.178 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.3837, allocations: 12 kB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.3837, allocations: 0 / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003484/0.3841, allocations: 167.8 kB / 1.178 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.3841, allocations: 3.984 kB / 1.178 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.3841, allocations: 11.94 kB / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.3844, allocations: 123.6 kB / 1.178 GB, free: 3.305 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3844, allocations: 0 / 1.178 GB, free: 3.305 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3844, allocations: 0 / 1.178 GB, free: 3.305 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3844, allocations: 0 / 1.178 GB, free: 3.305 MB / 0.92 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.0005223/0.3849, allocations: 363.2 kB / 1.179 GB, free: 2.898 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.385, allocations: 11.97 kB / 1.179 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.385, allocations: 12.88 kB / 1.179 GB, free: 2.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3852, allocations: 164.3 kB / 1.179 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.3853, allocations: 30.27 kB / 1.179 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.3853, allocations: 384 / 1.179 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3854, allocations: 42.25 kB / 1.179 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3854, allocations: 3.938 kB / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3855, allocations: 4 kB / 1.179 GB, free: 2.586 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3855, allocations: 7.984 kB / 1.179 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.891e-05/0.3856, allocations: 15.98 kB / 1.179 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.3858, allocations: 157.7 kB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.386, allocations: 46.5 kB / 1.179 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.142e-05/0.3861, allocations: 20.8 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.3864, allocations: 182.3 kB / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3865, allocations: 30.56 kB / 1.179 GB, free: 2.027 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3865, allocations: 0 / 1.179 GB, free: 2.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000285/0.3868, allocations: 73.73 kB / 1.179 GB, free: 1.949 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.3868, allocations: 51.41 kB / 1.18 GB, free: 1.887 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.3869, allocations: 105.8 kB / 1.18 GB, free: 1.773 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.387, allocations: 29.7 kB / 1.18 GB, free: 1.738 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.387, allocations: 84.14 kB / 1.18 GB, free: 1.652 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.3871, allocations: 19.83 kB / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.3871, allocations: 13.72 kB / 1.18 GB, free: 1.613 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3873, allocations: 314.8 kB / 1.18 GB, free: 1.297 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.3874, allocations: 12 kB / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.296e-05/0.3874, allocations: 7.984 kB / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.3875, allocations: 32.84 kB / 1.18 GB, free: 1.242 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3875, allocations: 0 / 1.18 GB, free: 1.242 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.3877, allocations: 57.62 kB / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3877, allocations: 7.938 kB / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3877, allocations: 0 / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3877, allocations: 0 / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.3878, allocations: 11.98 kB / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3878, allocations: 0 / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.3879, allocations: 11.95 kB / 1.18 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.3879, allocations: 0 / 1.18 GB, free: 1.148 MB / 0.92 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.903e-05/0.388, allocations: 109.8 kB / 1.18 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.388, allocations: 7.938 kB / 1.18 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.3882, allocations: 69.05 kB / 1.18 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3882, allocations: 4 kB / 1.18 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3882, allocations: 0 / 1.18 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3882, allocations: 0 / 1.18 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.3884, allocations: 157.7 kB / 1.181 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3884, allocations: 0 / 1.181 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.3884, allocations: 19.98 kB / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3884, allocations: 3.938 kB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3884, allocations: 0 / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3884, allocations: 0 / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3885, allocations: 0 / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.3886, allocations: 85.06 kB / 1.181 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.3887, allocations: 81.11 kB / 1.181 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3887, allocations: 3.938 kB / 1.181 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.3888, allocations: 7.984 kB / 1.181 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.3888, allocations: 11.94 kB / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3888, allocations: 3.938 kB / 1.181 GB, free: 500 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.3889, allocations: 79.7 kB / 1.181 GB, free: 420 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3889, allocations: 0 / 1.181 GB, free: 420 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002329/0.3891, allocations: 39.8 kB / 1.181 GB, free: 380 kB / 0.92 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.0002471/0.3894, allocations: 139.1 kB / 1.181 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.3896, allocations: 32.11 kB / 1.181 GB, free: 196 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3896, allocations: 4 kB / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.3896, allocations: 19.92 kB / 1.181 GB, free: 172 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.3899, allocations: 6.234 kB / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.3902, allocations: 143.1 kB / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3906, allocations: 0.6806 MB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.3906, allocations: 7.438 kB / 1.182 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of SimCode: time 3.476e-06/0.3906, allocations: 4 kB / 1.182 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of Templates: time 0.002824/0.3935, allocations: 0.9911 MB / 1.183 GB, free: 14.29 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.54326772899367]