Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001888/0.001888, allocations: 110.8 kB / 18.88 MB, free: 3.043 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.001605/0.001605, allocations: 200.1 kB / 22.17 MB, free: 5.195 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.416/1.416, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.776/2.776, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 68.03 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8776/0.8797, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002453/0.8822, allocations: 1.265 MB / 1.275 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006743/0.8828, allocations: 306.9 kB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.8829, allocations: 0 / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.8829, allocations: 0 / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.8829, allocations: 3.938 kB / 1.276 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.8833, allocations: 59.73 kB / 1.276 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.912e-05/0.8833, allocations: 23.86 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.8834, allocations: 0 / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.8834, allocations: 4 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.194e-05/0.8835, allocations: 7.984 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.8835, allocations: 0 / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.8836, allocations: 59.94 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.8837, allocations: 3.938 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.8837, allocations: 8 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.8838, allocations: 51.48 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8838, allocations: 4 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8839, allocations: 0 / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.8839, allocations: 0 / 1.276 GB, free: 2.77 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.0004663/0.8843, allocations: 334.4 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.8844, allocations: 8.031 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.8846, allocations: 20.91 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.8847, allocations: 168.3 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.8848, allocations: 4.375 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.8848, allocations: 4.375 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.8849, allocations: 46.25 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8849, allocations: 192 / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.8849, allocations: 3.938 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.8849, allocations: 0 / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.885, allocations: 15.98 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.8852, allocations: 153.7 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.8871, allocations: 274.4 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.8871, allocations: 16.86 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.8871, allocations: 3.984 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.8871, allocations: 34.56 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.8871, allocations: 0 / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001788/0.8873, allocations: 69.58 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.8874, allocations: 55.34 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.684e-05/0.8874, allocations: 89.86 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.8875, allocations: 29.7 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.8875, allocations: 84.08 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.8875, allocations: 15.84 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.8876, allocations: 21.83 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8877, allocations: 318.8 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.8877, allocations: 4 kB / 1.277 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.8878, allocations: 12 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.8878, allocations: 24.84 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8878, allocations: 0 / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.504e-05/0.8879, allocations: 57.62 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8879, allocations: 8 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8879, allocations: 3.938 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.8879, allocations: 4 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.888, allocations: 4.328 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.888, allocations: 0 / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.888, allocations: 4 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.888, allocations: 4 kB / 1.278 GB, free: 0.6875 MB / 0.9669 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.26e-05/0.8881, allocations: 110.4 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.8881, allocations: 0 / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.8881, allocations: 19.42 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.8882, allocations: 3.984 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8882, allocations: 4 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8882, allocations: 0 / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.8883, allocations: 153.7 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.8883, allocations: 0 / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.8883, allocations: 8 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8883, allocations: 0 / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.8884, allocations: 3.938 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8884, allocations: 0 / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8884, allocations: 0 / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.8885, allocations: 89.02 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.909e-05/0.8886, allocations: 85.09 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.8886, allocations: 3.938 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.065e-05/0.8886, allocations: 0 / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.8886, allocations: 4 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.8886, allocations: 3.938 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.691e-05/0.8887, allocations: 75.28 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8887, allocations: 0 / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001825/0.8889, allocations: 16.09 kB / 1.278 GB, free: 24 kB / 0.9669 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.000136/0.889, allocations: 95.25 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.8891, allocations: 27.92 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8891, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-05/0.8891, allocations: 15.98 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.8894, allocations: 11.94 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.8897, allocations: 144.6 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.8901, allocations: 0.6768 MB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.8901, allocations: 4 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.8901, allocations: 11.44 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8902, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.002937/0.8931, allocations: 0.5337 MB / 1.28 GB, free: 14.46 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.732940770685673]