Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.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.001478/0.001478, allocations: 106.2 kB / 19.69 MB, free: 2.273 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.001665/0.001665, allocations: 224.2 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] 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 2.928/2.928, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve") translateModel(Buildings.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve") [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.001897/0.001897, allocations: 70.42 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2975, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.2065/0.504, allocations: 197.6 MB / 1.547 GB, free: 1.609 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.523, allocations: 14.28 MB / 1.561 GB, free: 3.281 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.5244, allocations: 59.56 kB / 1.561 GB, free: 3.223 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.5285, allocations: 1.682 MB / 1.563 GB, free: 1.535 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005346/0.5338, allocations: 2.472 MB / 1.565 GB, free: 15.05 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.5369, allocations: 1.302 MB / 1.566 GB, free: 13.76 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01327/0.5501, allocations: 8.928 MB / 1.575 GB, free: 4.82 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.5515, allocations: 0.7585 MB / 1.576 GB, free: 4.047 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.5546, allocations: 1.58 MB / 1.577 GB, free: 2.461 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.5566, allocations: 1.02 MB / 1.578 GB, free: 1.441 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.5568, allocations: 124 kB / 1.579 GB, free: 1.32 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004463/0.5613, allocations: 2.553 MB / 1.581 GB, free: 14.76 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0007437/0.562, allocations: 0.6464 MB / 1.582 GB, free: 14.11 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0009938/0.563, allocations: 0.8318 MB / 1.582 GB, free: 13.28 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.004927/0.568, allocations: 3.251 MB / 1.586 GB, free: 10.02 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.568, allocations: 7.922 kB / 1.586 GB, free: 10.01 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.463e-06/0.568, allocations: 0 / 1.586 GB, free: 10.01 MB / 1.279 GB Notification: Performance of Transformations before backend: time 3.026e-05/0.568, allocations: 8 kB / 1.586 GB, free: 10 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003651/0.5716, allocations: 2.058 MB / 1.588 GB, free: 7.895 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.5717, allocations: 12.03 kB / 1.588 GB, free: 7.883 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.575, allocations: 0.592 MB / 1.588 GB, free: 7.289 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/0.5795, allocations: 2.051 MB / 1.59 GB, free: 5.195 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.5795, allocations: 49.31 kB / 1.59 GB, free: 5.148 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.5796, allocations: 67.95 kB / 1.59 GB, free: 5.082 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.5813, allocations: 0.9496 MB / 1.591 GB, free: 4.098 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.5813, allocations: 0 / 1.591 GB, free: 4.098 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.998e-05/0.5814, allocations: 28 kB / 1.591 GB, free: 4.07 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.5814, allocations: 21.31 kB / 1.591 GB, free: 4.051 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.583, allocations: 0.7389 MB / 1.592 GB, free: 3.309 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006084/0.5891, allocations: 4.349 MB / 1.596 GB, free: 14.66 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.5909, allocations: 0.5609 MB / 1.597 GB, free: 14.09 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/0.5915, allocations: 284.7 kB / 1.597 GB, free: 13.8 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.5918, allocations: 43.97 kB / 1.597 GB, free: 13.76 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.5918, allocations: 42.55 kB / 1.597 GB, free: 13.71 MB / 1.295 GB Notification: Performance of pre-optimization done (n=29): time 2.394e-06/0.5918, allocations: 0 / 1.597 GB, free: 13.71 MB / 1.295 GB Notification: Performance of matching and sorting (n=29): time 0.00317/0.595, allocations: 1.072 MB / 1.598 GB, free: 12.63 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.595, allocations: 51.41 kB / 1.598 GB, free: 12.57 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.5973, allocations: 1.659 MB / 1.6 GB, free: 10.9 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 9.116e-05/0.5973, allocations: 37.7 kB / 1.6 GB, free: 10.86 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000583/0.5979, allocations: 0.6546 MB / 1.601 GB, free: 10.2 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.5981, allocations: 115 kB / 1.601 GB, free: 10.09 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.5984, allocations: 226.5 kB / 1.601 GB, free: 9.859 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5986, allocations: 345.9 kB / 1.601 GB, free: 9.516 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.5997, allocations: 0.7231 MB / 1.602 GB, free: 8.789 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.6011, allocations: 0.9687 MB / 1.603 GB, free: 7.73 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.6034, allocations: 1.565 MB / 1.604 GB, free: 6.094 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.6034, allocations: 0 / 1.604 GB, free: 6.094 MB / 1.295 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003244/0.6066, allocations: 1.963 MB / 1.606 GB, free: 4.125 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6067, allocations: 8 kB / 1.606 GB, free: 4.117 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.6067, allocations: 11.98 kB / 1.606 GB, free: 4.105 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/0.6072, allocations: 205.1 kB / 1.607 GB, free: 3.902 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.6079, allocations: 179.7 kB / 1.607 GB, free: 3.727 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006369/0.6085, allocations: 0.7085 MB / 1.607 GB, free: 2.992 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.6095, allocations: 127.3 kB / 1.608 GB, free: 2.867 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/0.6096, allocations: 55.98 kB / 1.608 GB, free: 2.812 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001559/0.6112, allocations: 0.9782 MB / 1.609 GB, free: 1.828 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001209/0.6124, allocations: 0.8596 MB / 1.609 GB, free: 0.8711 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5931/1.205, allocations: 1.341 MB / 1.611 GB, free: 255.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.296e-06/1.205, allocations: 2.438 kB / 1.611 GB, free: 255.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003494/1.209, allocations: 1.782 MB / 1.612 GB, free: 255.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.209, allocations: 9.469 kB / 1.612 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.209, allocations: 5.281 kB / 1.612 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007109/1.21, allocations: 246.3 kB / 1.613 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/1.21, allocations: 166 kB / 1.613 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005991/1.211, allocations: 0.8689 MB / 1.614 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.212, allocations: 99.56 kB / 1.614 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/1.212, allocations: 50.42 kB / 1.614 GB, free: 255.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001989/1.212, allocations: 220.7 kB / 1.614 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/1.213, allocations: 147.9 kB / 1.614 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/1.214, allocations: 0.7923 MB / 1.615 GB, free: 254.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/1.214, allocations: 7.188 kB / 1.615 GB, free: 254.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.214, allocations: 5.031 kB / 1.615 GB, free: 254.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/1.214, allocations: 1.688 kB / 1.615 GB, free: 254.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/1.218, allocations: 1.818 MB / 1.617 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.218, allocations: 2.25 kB / 1.617 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/1.218, allocations: 81.92 kB / 1.617 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/1.219, allocations: 84.08 kB / 1.617 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/1.219, allocations: 13.09 kB / 1.617 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000396/1.219, allocations: 0.6855 MB / 1.618 GB, free: 253.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.219, allocations: 2.781 kB / 1.618 GB, free: 253.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/1.222, allocations: 1.243 MB / 1.619 GB, free: 252.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/1.222, allocations: 207.3 kB / 1.619 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/1.222, allocations: 9.078 kB / 1.619 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/1.223, allocations: 48.19 kB / 1.619 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/1.223, allocations: 33.84 kB / 1.619 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/1.223, allocations: 23.62 kB / 1.619 GB, free: 252.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001484/1.225, allocations: 1.127 MB / 1.62 GB, free: 252 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.225, allocations: 0 / 1.62 GB, free: 252 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001793/1.226, allocations: 0.6735 MB / 1.621 GB, free: 252 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (mov.motSpe.y) * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008644/1.227, allocations: 462.7 kB / 1.621 GB, free: 251.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003686/1.231, allocations: 1.816 MB / 1.623 GB, free: 251.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/1.231, allocations: 0.5 kB / 1.623 GB, free: 251.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008702/1.232, allocations: 298.5 kB / 1.623 GB, free: 251.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/1.235, allocations: 0.8259 MB / 1.624 GB, free: 251 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/1.241, allocations: 2.826 MB / 1.627 GB, free: 249.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/1.242, allocations: 1.295 MB / 1.628 GB, free: 248.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/1.242, allocations: 118.4 kB / 1.628 GB, free: 248.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.042e-06/1.242, allocations: 1.688 kB / 1.628 GB, free: 248.9 MB / 1.295 GB Notification: Performance of Templates: time 0.04181/1.284, allocations: 32.65 MB / 1.66 GB, free: 233.8 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PressureCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.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: 17.211286311998265]