Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00261/0.00261, allocations: 197.8 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.894/2.894, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7798/0.7818, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.00363/0.7855, allocations: 2.11 MB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0039/0.7894, allocations: 2.559 MB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.7896, allocations: 8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.7909, allocations: 0.5076 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.7911, allocations: 67.66 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.792, allocations: 247.5 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005637/0.7926, allocations: 366.3 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.7928, allocations: 89.06 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.793, allocations: 107.5 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.7932, allocations: 143.2 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.7933, allocations: 8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005666/0.7938, allocations: 311.6 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.794, allocations: 111.5 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.7943, allocations: 218.5 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.7953, allocations: 0.8021 MB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7953, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.544e-06/0.7953, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.7954, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001377/0.7967, allocations: 0.8682 MB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.7968, allocations: 8.031 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.7969, allocations: 76.12 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005757/0.7975, allocations: 380.2 kB / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.7976, allocations: 8.375 kB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.7976, allocations: 12.31 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.7979, allocations: 132.6 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.7979, allocations: 3.938 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.7979, allocations: 0 / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.798, allocations: 4 kB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.7981, allocations: 95.94 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/0.799, allocations: 0.5548 MB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.7992, allocations: 106.5 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.7993, allocations: 60.97 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.7993, allocations: 8.188 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.7996, allocations: 141 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.7996, allocations: 0 / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005246/0.8002, allocations: 310.4 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.8003, allocations: 85.09 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.8013, allocations: 0.7896 MB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.8014, allocations: 29.7 kB / 1.028 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.8017, allocations: 288.3 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.8017, allocations: 31.55 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-05/0.8018, allocations: 29.7 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.802, allocations: 314 kB / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.8021, allocations: 43.97 kB / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.055e-05/0.8022, allocations: 47.92 kB / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.8024, allocations: 160.2 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8024, allocations: 3.938 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004269/0.8029, allocations: 262.5 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/0.8029, allocations: 41.69 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.803, allocations: 0 / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.803, allocations: 4 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.8031, allocations: 8 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8031, allocations: 0 / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.8032, allocations: 11.91 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.8033, allocations: 4 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000376/0.8036, allocations: 339.3 kB / 1.029 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.8037, allocations: 63.19 kB / 1.029 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.8042, allocations: 301 kB / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8042, allocations: 4 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.8043, allocations: 0 / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8043, allocations: 128 / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.8048, allocations: 389.3 kB / 1.03 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8048, allocations: 3.938 kB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.8048, allocations: 4 kB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.8048, allocations: 3.938 kB / 1.03 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.8048, allocations: 7.984 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8049, allocations: 0 / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8049, allocations: 0 / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.8053, allocations: 317.9 kB / 1.03 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.8055, allocations: 144.3 kB / 1.031 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.8055, allocations: 4 kB / 1.031 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.8057, allocations: 7.984 kB / 1.031 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.8057, allocations: 4 kB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.8057, allocations: 8 kB / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007671/0.8065, allocations: 0.5809 MB / 1.031 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8065, allocations: 0 / 1.031 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005231/0.807, allocations: 135.9 kB / 1.031 GB, free: 3.52 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0004533/0.8075, allocations: 192 kB / 1.031 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.8079, allocations: 211.3 kB / 1.032 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8079, allocations: 0 / 1.032 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.8081, allocations: 147.3 kB / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.8087, allocations: 132.4 kB / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.8104, allocations: 1.197 MB / 1.033 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/0.8112, allocations: 0.9782 MB / 1.034 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.8113, allocations: 25.95 kB / 1.034 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.8113, allocations: 19.42 kB / 1.034 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.8113, allocations: 0 / 1.034 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of Templates: time 0.01251/0.8238, allocations: 5.493 MB / 1.039 GB, free: 11.16 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches