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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009174/0.0009171, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 179.3 kB / 16.92 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004075, allocations: 19.94 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7346/0.735, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002636/0.7377, allocations: 1.759 MB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003615/0.7414, allocations: 2.578 MB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.7416, allocations: 0 / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.7431, allocations: 0.5154 MB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.7433, allocations: 63.66 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.7441, allocations: 203.6 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000427/0.7445, allocations: 314.2 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.7447, allocations: 101 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.7449, allocations: 95.47 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.7452, allocations: 135.2 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.7452, allocations: 4 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.7458, allocations: 303.5 kB / 1.03 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.7459, allocations: 103.5 kB / 1.03 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.7461, allocations: 232.2 kB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.7468, allocations: 0.6079 MB / 1.031 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.7468, allocations: 0 / 1.031 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7468, allocations: 0 / 1.031 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.7468, allocations: 4 kB / 1.031 GB, free: 8.816 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.001154/0.748, allocations: 0.8064 MB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.748, allocations: 8.031 kB / 1.031 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.854e-05/0.7481, allocations: 68.19 kB / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.7486, allocations: 384.2 kB / 1.032 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.7486, allocations: 8.375 kB / 1.032 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.7486, allocations: 8.375 kB / 1.032 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.7489, allocations: 134.6 kB / 1.032 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.749, allocations: 4 kB / 1.032 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.749, allocations: 0 / 1.032 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.749, allocations: 4 kB / 1.032 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.7492, allocations: 91.95 kB / 1.032 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.75, allocations: 0.5548 MB / 1.033 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.7502, allocations: 106.5 kB / 1.033 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.428e-05/0.7503, allocations: 60.97 kB / 1.033 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.7504, allocations: 8.125 kB / 1.033 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.7506, allocations: 137 kB / 1.033 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.7506, allocations: 0 / 1.033 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004779/0.7511, allocations: 310.4 kB / 1.033 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.7512, allocations: 85.11 kB / 1.033 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009558/0.7522, allocations: 0.7896 MB / 1.034 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.7522, allocations: 33.7 kB / 1.034 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.7524, allocations: 288.2 kB / 1.034 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.7525, allocations: 23.7 kB / 1.034 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.7525, allocations: 21.7 kB / 1.034 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.7527, allocations: 310 kB / 1.035 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.7527, allocations: 51.91 kB / 1.035 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.7528, allocations: 51.91 kB / 1.035 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.753, allocations: 160.6 kB / 1.035 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.753, allocations: 0 / 1.035 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003304/0.7533, allocations: 262.5 kB / 1.035 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.7534, allocations: 39.25 kB / 1.035 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7534, allocations: 0 / 1.035 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.7534, allocations: 4 kB / 1.035 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.7535, allocations: 4 kB / 1.035 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.7535, allocations: 0 / 1.035 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.7537, allocations: 23.77 kB / 1.035 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.7537, allocations: 8 kB / 1.035 GB, free: 3.75 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.0004078/0.7541, allocations: 341.4 kB / 1.036 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.7542, allocations: 75.03 kB / 1.036 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.7546, allocations: 285.1 kB / 1.036 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.7547, allocations: 7.984 kB / 1.036 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7547, allocations: 0 / 1.036 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.7547, allocations: 0 / 1.036 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.7551, allocations: 373.5 kB / 1.036 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.7551, allocations: 3.938 kB / 1.036 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.7551, allocations: 19.92 kB / 1.036 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7551, allocations: 0 / 1.036 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.7552, allocations: 8 kB / 1.036 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7552, allocations: 0 / 1.036 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7552, allocations: 288 / 1.036 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.7556, allocations: 313.9 kB / 1.037 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.7557, allocations: 152.1 kB / 1.037 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.7558, allocations: 4 kB / 1.037 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.7559, allocations: 19.98 kB / 1.037 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.756, allocations: 3.938 kB / 1.037 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.756, allocations: 7.984 kB / 1.037 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007017/0.7567, allocations: 0.5848 MB / 1.037 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7567, allocations: 0 / 1.037 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004703/0.7572, allocations: 120 kB / 1.037 GB, free: 1.344 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.0004118/0.7576, allocations: 191.1 kB / 1.038 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.7579, allocations: 211.3 kB / 1.038 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7579, allocations: 0 / 1.038 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.7581, allocations: 147.3 kB / 1.038 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.7587, allocations: 122.5 kB / 1.038 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.7603, allocations: 1.27 MB / 1.039 GB, free: 15.35 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.7609, allocations: 0.9745 MB / 1.04 GB, free: 14.35 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.7609, allocations: 15.44 kB / 1.04 GB, free: 14.34 MB / 0.795 GB Notification: Performance of SimCode: time 2.01e-07/0.7609, allocations: 0 / 1.04 GB, free: 14.34 MB / 0.795 GB Notification: Performance of Templates: time 0.01065/0.7716, allocations: 6.622 MB / 1.047 GB, free: 7.77 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/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