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.001926/0.001926, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002159/0.002159, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.502/1.502, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.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.841/2.841, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 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.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.002379/0.002379, allocations: 63.91 kB / 1.107 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9805/0.9829, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002745/0.9856, allocations: 1.277 MB / 1.273 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000627/0.9863, allocations: 294.1 kB / 1.273 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.9863, allocations: 0 / 1.273 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.9863, allocations: 1.281 kB / 1.273 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.564e-05/0.9863, allocations: 9.422 kB / 1.273 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.9867, allocations: 51.5 kB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.64e-05/0.9868, allocations: 18.88 kB / 1.274 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.9868, allocations: 6.172 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.9869, allocations: 5.484 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.9869, allocations: 4.719 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.987, allocations: 0.7188 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.9871, allocations: 54.03 kB / 1.274 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.9871, allocations: 13.22 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.9872, allocations: 8.375 kB / 1.274 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.9873, allocations: 49.34 kB / 1.274 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.9873, allocations: 0 / 1.274 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9873, allocations: 0 / 1.274 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.9873, allocations: 1.062 kB / 1.274 GB, free: 6.754 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.0003495/0.9877, allocations: 334.3 kB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.9877, allocations: 12.62 kB / 1.274 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.988, allocations: 18.5 kB / 1.274 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.611e-05/0.9881, allocations: 170.6 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.9881, allocations: 4.969 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.9881, allocations: 1.875 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.9882, allocations: 41.69 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.9882, allocations: 0.7188 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.9882, allocations: 4.688 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9882, allocations: 0.7812 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.378e-05/0.9883, allocations: 18.84 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.9884, allocations: 161.8 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.9903, allocations: 268.5 kB / 1.275 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.9904, allocations: 21.86 kB / 1.275 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.9904, allocations: 0.9375 kB / 1.275 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.9904, allocations: 31.47 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.9904, allocations: 0.875 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001946/0.9906, allocations: 69.19 kB / 1.275 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.9906, allocations: 57.02 kB / 1.275 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.69e-05/0.9907, allocations: 91.45 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.9907, allocations: 26.89 kB / 1.275 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.9907, allocations: 84.94 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.9907, allocations: 18.52 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.9908, allocations: 14.8 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.9908, allocations: 319.7 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.9908, allocations: 6.922 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.9909, allocations: 9.406 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.9909, allocations: 30.86 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.9909, allocations: 0.6875 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.435e-05/0.991, allocations: 57.66 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.991, allocations: 5.688 kB / 1.276 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.991, allocations: 3.938 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.991, allocations: 0.875 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.9911, allocations: 8 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.9911, allocations: 4.891 kB / 1.276 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.9911, allocations: 5 kB / 1.276 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.9911, allocations: 0.9375 kB / 1.276 GB, free: 5.074 MB / 0.9981 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 5.024e-05/0.9912, allocations: 108.6 kB / 1.276 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.9912, allocations: 5 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.9912, allocations: 12.41 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9912, allocations: 0.9688 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9912, allocations: 1.359 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9912, allocations: 0 / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.761e-05/0.9913, allocations: 155.6 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.9913, allocations: 0 / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/0.9913, allocations: 6.312 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.9914, allocations: 0 / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.9914, allocations: 4.906 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.9914, allocations: 4 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.9914, allocations: 4.875 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.189e-05/0.9915, allocations: 87.48 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.9915, allocations: 82.88 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.9915, allocations: 3.938 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.076e-05/0.9916, allocations: 0.9375 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.9916, allocations: 1.844 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.9916, allocations: 1 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.659e-05/0.9916, allocations: 84.5 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.9916, allocations: 0 / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002052/0.9918, allocations: 9.938 kB / 1.276 GB, free: 4.473 MB / 0.9981 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.0001018/0.9919, allocations: 98.34 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.992, allocations: 31.84 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.992, allocations: 0.8438 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.282e-05/0.992, allocations: 8.859 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.9923, allocations: 19 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.9926, allocations: 138.3 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.9927, allocations: 0.6793 MB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.936e-05/0.9928, allocations: 6.125 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.9928, allocations: 9.125 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.9928, allocations: 0 / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of Templates: time 0.002836/0.9956, allocations: 0.531 MB / 1.278 GB, free: 3.457 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.965316340327263]