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.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.00174/0.00174, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002213/0.002213, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.842/2.842, allocations: 476 MB / 0.7699 GB, free: 4.789 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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: 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.002112/0.002112, allocations: 68.56 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3457, allocations: 170 MB / 1.283 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002631/0.3483, allocations: 1.284 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006258/0.3489, allocations: 263.3 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.349, allocations: 4 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.349, allocations: 7.875 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.349, allocations: 0 / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.3493, allocations: 59.73 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.369e-05/0.3494, allocations: 15.92 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.3494, allocations: 3.938 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.3495, allocations: 8 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.3495, allocations: 7.938 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.3495, allocations: 4 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.3497, allocations: 55.94 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.3497, allocations: 0 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.3497, allocations: 11.98 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.3499, allocations: 47.78 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3499, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3499, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3499, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 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.0004326/0.3503, allocations: 258.3 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3504, allocations: 15.97 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.3506, allocations: 28.86 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.3507, allocations: 106.5 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3507, allocations: 384 / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.3507, allocations: 8.375 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3509, allocations: 63.95 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3509, allocations: 192 / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3509, allocations: 7.938 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3509, allocations: 3.938 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.128e-05/0.351, allocations: 15.98 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.3511, allocations: 101.3 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.353, allocations: 266.5 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.3531, allocations: 20.84 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3531, allocations: 4 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3531, allocations: 30.56 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3531, allocations: 4 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001795/0.3533, allocations: 69.56 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.3533, allocations: 51.41 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.3534, allocations: 93.86 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3534, allocations: 29.64 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.3535, allocations: 84.12 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.3535, allocations: 15.89 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3535, allocations: 13.72 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3537, allocations: 310.8 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.3537, allocations: 12 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.3537, allocations: 16.3 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.3538, allocations: 32.88 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3538, allocations: 0 / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.356e-05/0.3539, allocations: 49.69 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3539, allocations: 8 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3539, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3539, allocations: 3.938 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.354, allocations: 4 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.354, allocations: 4 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.354, allocations: 0 / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.354, allocations: 0 / 1.286 GB, free: 8.359 MB / 0.9825 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 9.158e-05/0.3541, allocations: 121.8 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.3541, allocations: 7.938 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3542, allocations: 7.531 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3542, allocations: 7.875 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3542, allocations: 0 / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3542, allocations: 0 / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.3543, allocations: 109.3 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3543, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.3543, allocations: 4 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.3543, allocations: 3.984 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3544, allocations: 4 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3544, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.3544, allocations: 7.938 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.3545, allocations: 77.12 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.3545, allocations: 4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.3545, allocations: 4 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.3546, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.3546, allocations: 11.86 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.3546, allocations: 4 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.3547, allocations: 79.22 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3547, allocations: 4.094 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001856/0.3548, allocations: 12 kB / 1.287 GB, free: 7.84 MB / 0.9825 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.0001151/0.355, allocations: 91.25 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.681e-05/0.3551, allocations: 23.98 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3551, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.3551, allocations: 12 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.3553, allocations: 11.92 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.3557, allocations: 130.9 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.664e-05/0.3557, allocations: 55.36 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.3558, allocations: 11.98 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.3558, allocations: 7.438 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3558, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of Templates: time 0.00281/0.3586, allocations: 0.5429 MB / 1.288 GB, free: 6.918 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 -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: 9.021145382896066]