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.001551/0.001551, allocations: 105.1 kB / 16.27 MB, free: 6.398 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.001539/0.001539, allocations: 191.8 kB / 17.2 MB, free: 5.969 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.774/2.774, allocations: 437 MB / 0.711 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.83 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3633, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003725/0.367, allocations: 2.063 MB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003626/0.3707, allocations: 2.593 MB / 1.023 GB, free: 5.922 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.3708, allocations: 7.938 kB / 1.023 GB, free: 5.914 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.3722, allocations: 0.5097 MB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.3723, allocations: 67.59 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008568/0.3732, allocations: 278.8 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.3736, allocations: 326.4 kB / 1.024 GB, free: 4.746 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.3738, allocations: 85.06 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.374, allocations: 115.5 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.3742, allocations: 131.2 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.3742, allocations: 8 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000509/0.3747, allocations: 319.5 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3749, allocations: 103.5 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.3751, allocations: 218.5 kB / 1.025 GB, free: 3.781 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009012/0.376, allocations: 0.8021 MB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.376, allocations: 0 / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.463e-06/0.376, allocations: 0 / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.376, allocations: 7.938 kB / 1.025 GB, free: 2.969 MB / 0.795 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.001144/0.3772, allocations: 0.8759 MB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.3773, allocations: 12.03 kB / 1.026 GB, free: 2.023 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/0.3774, allocations: 60.19 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.3778, allocations: 388.2 kB / 1.027 GB, free: 1.547 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.3779, allocations: 8.375 kB / 1.027 GB, free: 1.539 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3779, allocations: 4.375 kB / 1.027 GB, free: 1.535 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.3781, allocations: 137.9 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3782, allocations: 0 / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3782, allocations: 4 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3782, allocations: 0 / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.3784, allocations: 102.4 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/0.3792, allocations: 0.547 MB / 1.027 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.3794, allocations: 102.5 kB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.3795, allocations: 68.97 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.3795, allocations: 8.219 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/0.3798, allocations: 137 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.3799, allocations: 0 / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0005154/0.3804, allocations: 310.4 kB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.3805, allocations: 81.09 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.3815, allocations: 0.7935 MB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.3815, allocations: 29.7 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.3818, allocations: 300.1 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.3818, allocations: 23.64 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.3819, allocations: 29.7 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3821, allocations: 310 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.3822, allocations: 47.97 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.3822, allocations: 43.98 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.3824, allocations: 156.2 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3824, allocations: 4 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003368/0.3828, allocations: 266.5 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.3828, allocations: 37.69 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3828, allocations: 64 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3829, allocations: 4 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.383, allocations: 11.94 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.383, allocations: 0 / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3831, allocations: 19.84 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.3831, allocations: 4 kB / 1.03 GB, free: 13.82 MB / 0.8106 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.000357/0.3835, allocations: 336 kB / 1.03 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.3836, allocations: 75.08 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.3841, allocations: 300.9 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3841, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3841, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3841, allocations: 3.938 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.3846, allocations: 381.5 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3846, allocations: 3.938 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.3847, allocations: 4 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.3847, allocations: 3.984 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3847, allocations: 8 kB / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3847, allocations: 0 / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3847, allocations: 0 / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.3852, allocations: 313.9 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.3854, allocations: 144.2 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.3854, allocations: 8 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3855, allocations: 7.984 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.3856, allocations: 4 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.3856, allocations: 8 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007457/0.3864, allocations: 0.5925 MB / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3864, allocations: 0 / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000503/0.3869, allocations: 124 kB / 1.032 GB, free: 11.42 MB / 0.8106 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.0004281/0.3873, allocations: 191.6 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.3877, allocations: 211.3 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3877, allocations: 0 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.3879, allocations: 151.3 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.3885, allocations: 132.4 kB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.3904, allocations: 1.122 MB / 1.034 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007799/0.3912, allocations: 0.9743 MB / 1.035 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.3912, allocations: 19.44 kB / 1.035 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of SimCode: time 5.72e-07/0.3912, allocations: 3.938 kB / 1.035 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of Templates: time 0.01114/0.4024, allocations: 6.737 MB / 1.042 GB, free: 1.863 MB / 0.8106 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/jenkins1/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