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.002241/0.002241, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001523/0.001523, allocations: 220 kB / 23.01 MB, free: 4.609 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.781/2.781, allocations: 476.7 MB / 0.7714 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 177] 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.002039/0.002039, allocations: 68.48 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3646, allocations: 170 MB / 1.285 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002728/0.3673, allocations: 1.29 MB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006969/0.368, allocations: 303.1 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.368, allocations: 0 / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.368, allocations: 0 / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.3681, allocations: 3.938 kB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.3684, allocations: 55.73 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.3685, allocations: 11.94 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.3685, allocations: 8 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.3685, allocations: 8 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.3686, allocations: 15.86 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.3686, allocations: 0 / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.3687, allocations: 51.95 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.3688, allocations: 3.984 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.3688, allocations: 7.938 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.3689, allocations: 59.81 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.369, allocations: 0 / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.369, allocations: 0 / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.369, allocations: 0 / 1.286 GB, free: 9.465 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.0004219/0.3694, allocations: 266.2 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3694, allocations: 8.031 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.3696, allocations: 16.92 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3697, allocations: 110.5 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3698, allocations: 4.375 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.3698, allocations: 384 / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.3699, allocations: 46.25 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3699, allocations: 8.125 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3699, allocations: 3.938 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3699, allocations: 0 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.969e-05/0.37, allocations: 12 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.3701, allocations: 128.8 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.372, allocations: 270.4 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.3721, allocations: 24.83 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.3721, allocations: 0 / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3721, allocations: 30.56 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3721, allocations: 0 / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000179/0.3723, allocations: 65.62 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3723, allocations: 55.41 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.241e-05/0.3724, allocations: 97.8 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3724, allocations: 25.7 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.3725, allocations: 80.14 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.3725, allocations: 15.89 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.3725, allocations: 13.72 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.3727, allocations: 314.8 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.3728, allocations: 8.125 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.3728, allocations: 15.98 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.15e-05/0.3728, allocations: 24.86 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3728, allocations: 0 / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.345e-05/0.3729, allocations: 49.69 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3729, allocations: 8 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3729, allocations: 7.875 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.373, allocations: 0 / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.373, allocations: 7.938 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.373, allocations: 0 / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.373, allocations: 11.95 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.373, allocations: 0 / 1.288 GB, free: 7.582 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 8.782e-05/0.3731, allocations: 117.8 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.3731, allocations: 4 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.3732, allocations: 11.47 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3732, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3732, allocations: 7.938 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3732, allocations: 0 / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.3733, allocations: 128.8 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3733, allocations: 4 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.3734, allocations: 4 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3734, allocations: 0 / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3734, allocations: 3.938 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3734, allocations: 0 / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3734, allocations: 0 / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.3735, allocations: 85.06 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.3735, allocations: 3.984 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.3736, allocations: 3.938 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.3736, allocations: 8 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.3736, allocations: 384 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3736, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.3737, allocations: 83.28 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3737, allocations: 0 / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001776/0.3738, allocations: 4 kB / 1.288 GB, free: 7.051 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.0001126/0.374, allocations: 99.23 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.3741, allocations: 36 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3741, allocations: 0 / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.91e-05/0.3741, allocations: 8 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3743, allocations: 15.98 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.3747, allocations: 148.6 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.375, allocations: 0.6807 MB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.375, allocations: 7.438 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.375, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of Templates: time 0.001909/0.3769, allocations: 0.5246 MB / 1.29 GB, free: 5.465 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/jenkins1/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: 11.170052259985823]