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.001452/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001743/0.001743, allocations: 191.6 kB / 16.13 MB, free: 6.652 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.371 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.685/2.685, allocations: 437 MB / 0.7099 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 67.89 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7829, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003613/0.7865, allocations: 2.106 MB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003426/0.79, allocations: 2.617 MB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.7901, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.7915, allocations: 0.5115 MB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.7916, allocations: 59.66 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.7924, allocations: 214.4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.7928, allocations: 327.3 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.793, allocations: 89.06 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.7931, allocations: 99.52 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.7933, allocations: 143.2 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.7934, allocations: 8 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004868/0.7938, allocations: 303.6 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.794, allocations: 103.5 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.7942, allocations: 210.5 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007929/0.795, allocations: 0.7904 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7951, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7951, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.7951, allocations: 4 kB / 1.024 GB, free: 11.16 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.001157/0.7962, allocations: 0.8721 MB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.7963, allocations: 12.03 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.7964, allocations: 60.19 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.7969, allocations: 396.2 kB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.7969, allocations: 8.375 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.7969, allocations: 12.31 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.7972, allocations: 133.2 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.7972, allocations: 0 / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.7972, allocations: 0 / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7973, allocations: 4 kB / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.7975, allocations: 103.9 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008801/0.7984, allocations: 0.547 MB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.7986, allocations: 102.5 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.7987, allocations: 60.97 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.7987, allocations: 8.188 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.799, allocations: 141 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.799, allocations: 4 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005038/0.7996, allocations: 306.5 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.7996, allocations: 77.11 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.8007, allocations: 0.7935 MB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.8008, allocations: 29.7 kB / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.8011, allocations: 288.3 kB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.8012, allocations: 31.61 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.8012, allocations: 25.7 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.8014, allocations: 314 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.8015, allocations: 43.97 kB / 1.028 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.262e-05/0.8016, allocations: 51.91 kB / 1.028 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.8018, allocations: 152.2 kB / 1.028 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8018, allocations: 4 kB / 1.028 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003375/0.8022, allocations: 266.5 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.8022, allocations: 37.69 kB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8022, allocations: 0 / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.8023, allocations: 0 / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.8024, allocations: 12 kB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.8024, allocations: 160 / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.8025, allocations: 19.81 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.8025, allocations: 4 kB / 1.029 GB, free: 6.02 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.0003522/0.8029, allocations: 341.2 kB / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.803, allocations: 71.19 kB / 1.029 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.8034, allocations: 305.3 kB / 1.029 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.8035, allocations: 0 / 1.029 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8035, allocations: 3.938 kB / 1.029 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.8035, allocations: 0 / 1.029 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.8039, allocations: 377.4 kB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8039, allocations: 7.938 kB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.804, allocations: 7.984 kB / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.804, allocations: 128 / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.804, allocations: 8 kB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.804, allocations: 7.984 kB / 1.03 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.804, allocations: 3.938 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.8044, allocations: 309.9 kB / 1.03 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.8046, allocations: 152.2 kB / 1.03 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.8047, allocations: 4 kB / 1.03 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.8048, allocations: 7.984 kB / 1.03 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.8048, allocations: 0 / 1.03 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.8049, allocations: 11.98 kB / 1.03 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007534/0.8056, allocations: 0.5887 MB / 1.031 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8056, allocations: 0 / 1.031 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000515/0.8062, allocations: 123.9 kB / 1.031 GB, free: 3.602 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.0004521/0.8066, allocations: 187.2 kB / 1.031 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.807, allocations: 207.3 kB / 1.031 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.807, allocations: 0 / 1.031 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.8072, allocations: 139.4 kB / 1.031 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000629/0.8078, allocations: 126.8 kB / 1.032 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.8096, allocations: 1.196 MB / 1.033 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.8103, allocations: 0.9785 MB / 1.034 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.8104, allocations: 33.88 kB / 1.034 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.8104, allocations: 15.44 kB / 1.034 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.8104, allocations: 0 / 1.034 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of Templates: time 0.01125/0.8217, allocations: 5.33 MB / 1.039 GB, free: 11.42 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=480 -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