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.001317/0.001317, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001506/0.001506, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.359/3.359, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002128/0.002128, allocations: 70.08 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3587, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002309/0.361, allocations: 1.278 MB / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005526/0.3616, allocations: 275.6 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.213e-05/0.3616, allocations: 0 / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.3616, allocations: 3.938 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.3616, allocations: 4 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.3619, allocations: 51.73 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.7e-05/0.362, allocations: 19.88 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.362, allocations: 3.938 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.362, allocations: 4 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.3621, allocations: 11.97 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.3621, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.3622, allocations: 59.95 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.679e-06/0.3622, allocations: 0 / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.3622, allocations: 11.94 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.3624, allocations: 51.81 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3624, allocations: 4 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3624, allocations: 3.938 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.3624, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 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.0003427/0.3627, allocations: 254.3 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3627, allocations: 12.03 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.3629, allocations: 20.86 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.517e-05/0.363, allocations: 110.5 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3631, allocations: 4.359 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.3631, allocations: 384 / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.3632, allocations: 71.89 kB / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3632, allocations: 192 / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3632, allocations: 3.938 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3632, allocations: 4 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.3633, allocations: 12 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.3634, allocations: 113.3 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.3653, allocations: 262.5 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.3653, allocations: 16.86 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.3653, allocations: 0 / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3654, allocations: 38.5 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3654, allocations: 0 / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001744/0.3655, allocations: 65.62 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3656, allocations: 59.39 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.3657, allocations: 89.86 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3657, allocations: 33.7 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.3657, allocations: 80.14 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.3657, allocations: 7.906 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.3658, allocations: 17.72 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3659, allocations: 314.8 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.3659, allocations: 8 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.366, allocations: 8 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.366, allocations: 29.08 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.366, allocations: 8.125 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.452e-05/0.3661, allocations: 57.61 kB / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3661, allocations: 10.03 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3661, allocations: 0 / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3661, allocations: 3.938 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.3662, allocations: 7.984 kB / 1.368 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.3662, allocations: 0 / 1.368 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.3662, allocations: 8 kB / 1.368 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.3662, allocations: 0 / 1.368 GB, free: 9.934 MB / 1.061 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.675e-05/0.3663, allocations: 114.4 kB / 1.368 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.3663, allocations: 8 kB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.3663, allocations: 7.531 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3664, allocations: 3.938 kB / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3664, allocations: 0 / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3664, allocations: 0 / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.429e-05/0.3665, allocations: 105.3 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3665, allocations: 7.938 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.3665, allocations: 4 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3665, allocations: 0 / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.3665, allocations: 0 / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3665, allocations: 0 / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3665, allocations: 7.938 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.3666, allocations: 85.08 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.3667, allocations: 3.984 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3667, allocations: 4 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.885e-05/0.3667, allocations: 3.938 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.3667, allocations: 3.938 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.3667, allocations: 8 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.656e-05/0.3668, allocations: 75.28 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3668, allocations: 0 / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001809/0.367, allocations: 4 kB / 1.368 GB, free: 9.43 MB / 1.061 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.0001243/0.3671, allocations: 103.3 kB / 1.369 GB, free: 9.316 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.798e-05/0.3672, allocations: 20 kB / 1.369 GB, free: 9.297 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3672, allocations: 4 kB / 1.369 GB, free: 9.293 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.3672, allocations: 11.92 kB / 1.369 GB, free: 9.281 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.3674, allocations: 19.92 kB / 1.369 GB, free: 9.262 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.3678, allocations: 147.3 kB / 1.369 GB, free: 9.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/0.3678, allocations: 63.34 kB / 1.369 GB, free: 9.008 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.3679, allocations: 11.44 kB / 1.369 GB, free: 8.996 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3679, allocations: 0 / 1.369 GB, free: 8.996 MB / 1.061 GB Notification: Performance of Templates: time 0.001884/0.3697, allocations: 0.5476 MB / 1.369 GB, free: 8.449 MB / 1.061 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.271520848851651]