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.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.001847/0.001847, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001453/0.001453, allocations: 215.3 kB / 23.01 MB, free: 4.602 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.27/3.27, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.28 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.369, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002993/0.372, allocations: 1.291 MB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007415/0.3728, allocations: 295.5 kB / 1.356 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.3728, allocations: 0 / 1.356 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.3728, allocations: 0 / 1.356 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.027e-05/0.3729, allocations: 3.938 kB / 1.356 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.3732, allocations: 55.69 kB / 1.356 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.301e-05/0.3733, allocations: 15.92 kB / 1.356 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.142e-05/0.3734, allocations: 4 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.949e-05/0.3734, allocations: 8 kB / 1.356 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.3735, allocations: 7.984 kB / 1.356 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3735, allocations: 0 / 1.356 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.3737, allocations: 59.89 kB / 1.356 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.3737, allocations: 3.938 kB / 1.356 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.3737, allocations: 7.984 kB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.3739, allocations: 51.78 kB / 1.356 GB, free: 6.148 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.374, allocations: 11.98 kB / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.402e-06/0.374, allocations: 0 / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.374, allocations: 0 / 1.356 GB, free: 6.137 MB / 1.045 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.0005128/0.3745, allocations: 262.2 kB / 1.356 GB, free: 5.848 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3745, allocations: 8.031 kB / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.3748, allocations: 16.92 kB / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.3749, allocations: 102.5 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.375, allocations: 4.375 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.375, allocations: 4.375 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3751, allocations: 42.25 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3751, allocations: 4.172 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.3751, allocations: 7.938 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.3751, allocations: 0 / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.3752, allocations: 15.94 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.3754, allocations: 128.8 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.3779, allocations: 266.5 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.3779, allocations: 24.83 kB / 1.357 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.3779, allocations: 0 / 1.357 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.378, allocations: 38.56 kB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.378, allocations: 0 / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002457/0.3782, allocations: 77.44 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.3783, allocations: 51.41 kB / 1.357 GB, free: 4.961 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.3784, allocations: 93.86 kB / 1.357 GB, free: 4.859 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3784, allocations: 25.7 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.3785, allocations: 80.14 kB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.3785, allocations: 15.89 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.3786, allocations: 21.83 kB / 1.357 GB, free: 4.703 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002176/0.3788, allocations: 310.8 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.3788, allocations: 8 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.3788, allocations: 15.98 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.738e-05/0.3789, allocations: 20.86 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3789, allocations: 4 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001465/0.3791, allocations: 57.58 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3791, allocations: 8 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3791, allocations: 3.938 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3791, allocations: 4 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/0.3792, allocations: 4 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3792, allocations: 0 / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.3792, allocations: 4 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3792, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 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 0.0001258/0.3793, allocations: 117.7 kB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.3794, allocations: 4 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.3794, allocations: 15.45 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3794, allocations: 0 / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3794, allocations: 4 kB / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3794, allocations: 0 / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.3796, allocations: 128.8 kB / 1.358 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3796, allocations: 0 / 1.358 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.029e-05/0.3797, allocations: 7.938 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3797, allocations: 0 / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3797, allocations: 3.938 kB / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3797, allocations: 0 / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3797, allocations: 0 / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.3799, allocations: 85.12 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.3799, allocations: 12.25 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.3799, allocations: 3.938 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.38, allocations: 4 kB / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.38, allocations: 0 / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.38, allocations: 0 / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.3801, allocations: 79.28 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3801, allocations: 0 / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000336/0.3804, allocations: 8.094 kB / 1.358 GB, free: 3.715 MB / 1.045 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.0001682/0.3806, allocations: 111.1 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.3807, allocations: 19.98 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3807, allocations: 0 / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.3808, allocations: 15.98 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.381, allocations: 14.06 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.3815, allocations: 152.6 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.3819, allocations: 0.6768 MB / 1.359 GB, free: 2.66 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.3819, allocations: 11.44 kB / 1.359 GB, free: 2.652 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.3819, allocations: 0 / 1.359 GB, free: 2.652 MB / 1.045 GB Notification: Performance of Templates: time 0.002376/0.3843, allocations: 0.5235 MB / 1.359 GB, free: 2.129 MB / 1.045 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 11.082850678998511]