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.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.001976/0.001976, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00249/0.00249, allocations: 167.6 kB / 22.46 MB, free: 5.359 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.599/1.599, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.668/2.668, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.483e-06/1.483e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.823e-05, allocations: 8.531 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002456/0.002484, allocations: 1.278 MB / 0.9522 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.003882, allocations: 0.76 MB / 0.953 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.003902, allocations: 4 kB / 0.953 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.003927, allocations: 3.938 kB / 0.953 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.003974, allocations: 7.938 kB / 0.953 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.004493, allocations: 135.2 kB / 0.9531 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.766e-05/0.004571, allocations: 23.92 kB / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.004612, allocations: 7.984 kB / 0.9531 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.337e-05/0.004675, allocations: 19.91 kB / 0.9532 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.004739, allocations: 8 kB / 0.9532 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.004754, allocations: 4 kB / 0.9532 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.005073, allocations: 159.7 kB / 0.9533 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.005093, allocations: 3.984 kB / 0.9533 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.005128, allocations: 15.92 kB / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.005414, allocations: 139.6 kB / 0.9535 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005416, allocations: 0 / 0.9535 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.146e-06/0.005419, allocations: 4 kB / 0.9535 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.005423, allocations: 0 / 0.9535 GB, free: 9.004 MB / 0.8575 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.0004732/0.005896, allocations: 282 kB / 0.9537 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.005934, allocations: 8.031 kB / 0.9538 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.005981, allocations: 12.92 kB / 0.9538 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.006094, allocations: 109.7 kB / 0.9539 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.63e-05/0.00619, allocations: 55.97 kB / 0.9539 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.006203, allocations: 8.312 kB / 0.9539 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.006364, allocations: 67.95 kB / 0.954 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.006372, allocations: 4.188 kB / 0.954 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.006382, allocations: 384 / 0.954 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.006389, allocations: 4.125 kB / 0.954 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.855e-05/0.006488, allocations: 15.97 kB / 0.954 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.006634, allocations: 113.3 kB / 0.9541 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.006853, allocations: 46.61 kB / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.808e-05/0.006921, allocations: 24.88 kB / 0.9542 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.007138, allocations: 19.98 kB / 0.9542 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.007169, allocations: 38.55 kB / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.00717, allocations: 0 / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000259/0.007429, allocations: 69.67 kB / 0.9543 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.00748, allocations: 55.41 kB / 0.9544 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.674e-05/0.007567, allocations: 97.8 kB / 0.9545 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.007588, allocations: 29.7 kB / 0.9545 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.007623, allocations: 80.14 kB / 0.9546 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.007647, allocations: 7.906 kB / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.007693, allocations: 25.64 kB / 0.9546 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.007861, allocations: 314.8 kB / 0.9549 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.007915, allocations: 11.94 kB / 0.9549 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.376e-05/0.007959, allocations: 7.984 kB / 0.9549 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.008062, allocations: 36.84 kB / 0.955 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.008064, allocations: 0 / 0.955 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000138/0.008202, allocations: 50.16 kB / 0.955 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.008218, allocations: 8 kB / 0.955 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.008223, allocations: 0 / 0.955 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.008236, allocations: 0 / 0.955 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.008289, allocations: 7.984 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.008301, allocations: 11.88 kB / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.008331, allocations: 3.953 kB / 0.955 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.008336, allocations: 4 kB / 0.955 GB, free: 7.211 MB / 0.8575 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.051e-05/0.008417, allocations: 117.8 kB / 0.9552 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.008431, allocations: 4.031 kB / 0.9552 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.008621, allocations: 69.34 kB / 0.9552 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.008622, allocations: 0 / 0.9552 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.008626, allocations: 0 / 0.9552 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.008633, allocations: 7.938 kB / 0.9552 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.982e-05/0.008733, allocations: 109.3 kB / 0.9553 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008734, allocations: 0 / 0.9553 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.008786, allocations: 11.98 kB / 0.9553 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008787, allocations: 0 / 0.9553 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.008796, allocations: 4 kB / 0.9554 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008797, allocations: 0 / 0.9554 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008798, allocations: 3.938 kB / 0.9554 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.008961, allocations: 81.06 kB / 0.9554 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.009013, allocations: 15.88 kB / 0.9554 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.009029, allocations: 4 kB / 0.9555 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.702e-05/0.009076, allocations: 0 / 0.9555 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.009117, allocations: 7.984 kB / 0.9555 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.009122, allocations: 4 kB / 0.9555 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.009168, allocations: 83.22 kB / 0.9555 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.009168, allocations: 0 / 0.9555 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002465/0.009415, allocations: 39.86 kB / 0.9556 GB, free: 6.59 MB / 0.8575 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.0002609/0.009675, allocations: 141.1 kB / 0.9557 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.009837, allocations: 27.92 kB / 0.9557 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009839, allocations: 0 / 0.9557 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-05/0.009899, allocations: 15.98 kB / 0.9558 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.01014, allocations: 15.92 kB / 0.9558 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.01045, allocations: 116.7 kB / 0.9559 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.01051, allocations: 67.33 kB / 0.9559 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.01056, allocations: 12 kB / 0.956 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.01058, allocations: 12.5 kB / 0.956 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.01058, allocations: 0 / 0.956 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of Templates: time 0.004073/0.01466, allocations: 1.116 MB / 0.9571 GB, free: 5.035 MB / 0.8575 GB " [Timeout remaining time 300] 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: 7.91740307956934]