Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001322/0.001322, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002249/0.002249, allocations: 213.5 kB / 23.04 MB, free: 4.863 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.12/3.12, allocations: 0.49 GB / 0.7959 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve") translateModel(Buildings.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_12_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.001988/0.001988, allocations: 64.48 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3686, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.2134/0.582, allocations: 171.3 MB / 1.494 GB, free: 5.043 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0237/0.6057, allocations: 13.08 MB / 1.507 GB, free: 7.93 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.608, allocations: 59.5 kB / 1.507 GB, free: 7.871 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005295/0.6133, allocations: 1.602 MB / 1.509 GB, free: 6.266 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007456/0.6208, allocations: 2.424 MB / 1.511 GB, free: 3.832 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003958/0.6247, allocations: 1.277 MB / 1.512 GB, free: 2.562 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01443/0.6392, allocations: 8.906 MB / 1.521 GB, free: 9.641 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.6409, allocations: 0.7661 MB / 1.522 GB, free: 8.859 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004196/0.6451, allocations: 1.608 MB / 1.523 GB, free: 7.246 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002762/0.6479, allocations: 0.9572 MB / 1.524 GB, free: 6.285 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.6481, allocations: 108 kB / 1.524 GB, free: 6.18 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004561/0.6527, allocations: 1.999 MB / 1.526 GB, free: 4.176 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008151/0.6535, allocations: 0.6152 MB / 1.527 GB, free: 3.559 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.6545, allocations: 0.6374 MB / 1.528 GB, free: 2.918 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005954/0.6605, allocations: 3.079 MB / 1.531 GB, free: 15.83 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.6605, allocations: 4 kB / 1.531 GB, free: 15.82 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6605, allocations: 0 / 1.531 GB, free: 15.82 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.15e-05/0.6605, allocations: 0 / 1.531 GB, free: 15.82 MB / 1.232 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.003926/0.6644, allocations: 2.04 MB / 1.533 GB, free: 13.74 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.6645, allocations: 8.031 kB / 1.533 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003593/0.6681, allocations: 0.5959 MB / 1.533 GB, free: 13.13 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.6728, allocations: 1.966 MB / 1.535 GB, free: 11.12 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-05/0.6729, allocations: 49.3 kB / 1.535 GB, free: 11.07 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.673, allocations: 71.94 kB / 1.535 GB, free: 11 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.6749, allocations: 0.9747 MB / 1.536 GB, free: 9.988 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.675, allocations: 0 / 1.536 GB, free: 9.988 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/0.675, allocations: 20 kB / 1.536 GB, free: 9.969 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.6751, allocations: 29.23 kB / 1.536 GB, free: 9.941 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.6768, allocations: 0.735 MB / 1.537 GB, free: 9.203 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00584/0.6826, allocations: 3.28 MB / 1.54 GB, free: 5.816 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.6845, allocations: 0.5667 MB / 1.541 GB, free: 5.242 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006783/0.6851, allocations: 284.6 kB / 1.541 GB, free: 4.961 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.6854, allocations: 39.97 kB / 1.541 GB, free: 4.922 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.6854, allocations: 38.56 kB / 1.541 GB, free: 4.875 MB / 1.232 GB Notification: Performance of pre-optimization done (n=29): time 3.126e-06/0.6854, allocations: 3.938 kB / 1.541 GB, free: 4.871 MB / 1.232 GB Notification: Performance of matching and sorting (n=29): time 0.003273/0.6887, allocations: 1.073 MB / 1.542 GB, free: 3.789 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.6888, allocations: 59.34 kB / 1.542 GB, free: 3.719 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.6909, allocations: 1.558 MB / 1.544 GB, free: 2.152 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 8.08e-05/0.691, allocations: 37.7 kB / 1.544 GB, free: 2.109 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005875/0.6915, allocations: 0.6543 MB / 1.544 GB, free: 1.449 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.6917, allocations: 107.1 kB / 1.544 GB, free: 1.344 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.692, allocations: 234.5 kB / 1.545 GB, free: 1.109 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6922, allocations: 345.9 kB / 1.545 GB, free: 0.7656 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.6934, allocations: 0.727 MB / 1.546 GB, free: 36 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.6949, allocations: 1.115 MB / 1.547 GB, free: 14.79 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.6973, allocations: 1.565 MB / 1.548 GB, free: 13.16 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.6973, allocations: 4 kB / 1.548 GB, free: 13.15 MB / 1.248 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003338/0.7006, allocations: 1.952 MB / 1.55 GB, free: 11.18 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.7007, allocations: 8 kB / 1.55 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.7007, allocations: 11.98 kB / 1.55 GB, free: 11.16 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.7012, allocations: 204.7 kB / 1.551 GB, free: 10.96 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007553/0.702, allocations: 175.9 kB / 1.551 GB, free: 10.79 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006795/0.7027, allocations: 0.7006 MB / 1.551 GB, free: 10.06 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.7037, allocations: 119.3 kB / 1.551 GB, free: 9.945 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.7039, allocations: 60.05 kB / 1.552 GB, free: 9.887 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001681/0.7055, allocations: 0.9821 MB / 1.552 GB, free: 8.902 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001368/0.7069, allocations: 1.019 MB / 1.553 GB, free: 7.754 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002267/0.7092, allocations: 1.354 MB / 1.555 GB, free: 6.324 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/0.7092, allocations: 0 / 1.555 GB, free: 6.324 MB / 1.248 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003313/0.7125, allocations: 1.768 MB / 1.557 GB, free: 4.547 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.7125, allocations: 9.406 kB / 1.557 GB, free: 4.539 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.7125, allocations: 4 kB / 1.557 GB, free: 4.535 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006984/0.7132, allocations: 241.1 kB / 1.557 GB, free: 4.297 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.714, allocations: 175.7 kB / 1.557 GB, free: 4.125 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007959/0.7147, allocations: 0.8607 MB / 1.558 GB, free: 3.238 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.7159, allocations: 103.6 kB / 1.558 GB, free: 3.137 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.264e-05/0.716, allocations: 47.98 kB / 1.558 GB, free: 3.09 MB / 1.248 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.0003067/0.7163, allocations: 220.1 kB / 1.558 GB, free: 2.867 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.7165, allocations: 147 kB / 1.558 GB, free: 2.723 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.7185, allocations: 0.7973 MB / 1.559 GB, free: 1.906 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.7186, allocations: 4 kB / 1.559 GB, free: 1.902 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7186, allocations: 0 / 1.559 GB, free: 1.902 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7186, allocations: 0 / 1.559 GB, free: 1.902 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.722, allocations: 1.66 MB / 1.561 GB, free: 180 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.722, allocations: 0 / 1.561 GB, free: 180 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.7225, allocations: 88.08 kB / 1.561 GB, free: 92 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/0.7228, allocations: 80.81 kB / 1.561 GB, free: 8 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.7228, allocations: 12.05 kB / 1.561 GB, free: 15.99 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005515/0.7234, allocations: 0.6772 MB / 1.562 GB, free: 15.29 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.7234, allocations: 0 / 1.562 GB, free: 15.29 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.726, allocations: 1.239 MB / 1.563 GB, free: 14.01 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/0.7264, allocations: 198.9 kB / 1.563 GB, free: 13.82 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.7266, allocations: 15.88 kB / 1.563 GB, free: 13.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.7272, allocations: 48 kB / 1.563 GB, free: 13.75 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.7273, allocations: 19.97 kB / 1.563 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.7274, allocations: 23.98 kB / 1.563 GB, free: 13.71 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001539/0.7289, allocations: 1.051 MB / 1.564 GB, free: 12.66 MB / 1.264 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7289, allocations: 0 / 1.564 GB, free: 12.66 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001891/0.7308, allocations: 0.6823 MB / 1.565 GB, free: 11.98 MB / 1.264 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.0009683/0.7318, allocations: 459.3 kB / 1.565 GB, free: 11.52 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003688/0.7354, allocations: 1.812 MB / 1.567 GB, free: 9.723 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7354, allocations: 3.938 kB / 1.567 GB, free: 9.719 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0008165/0.7363, allocations: 304.3 kB / 1.567 GB, free: 9.422 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/0.7393, allocations: 0.7678 MB / 1.568 GB, free: 8.676 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006538/0.7459, allocations: 2.796 MB / 1.571 GB, free: 5.816 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008414/0.7467, allocations: 0.7045 MB / 1.571 GB, free: 5.082 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.7471, allocations: 107.4 kB / 1.571 GB, free: 4.977 MB / 1.264 GB Notification: Performance of SimCode: time 1.452e-06/0.7471, allocations: 4 kB / 1.571 GB, free: 4.973 MB / 1.264 GB Notification: Performance of Templates: time 0.04824/0.7954, allocations: 32.2 MB / 1.603 GB, free: 4.961 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.sim & ./Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_Validation_PressureCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.576584998052567]