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.001589/0.001589, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001549/0.001549, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.484/1.484, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.685/2.685, allocations: 437.1 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 77.47 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3408, 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.003952/0.3448, allocations: 2.056 MB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00391/0.3488, allocations: 2.597 MB / 1.023 GB, free: 5.918 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3489, allocations: 7.938 kB / 1.023 GB, free: 5.91 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.3504, allocations: 0.5058 MB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.3506, allocations: 71.53 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.3515, allocations: 273.1 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.352, allocations: 327.8 kB / 1.024 GB, free: 4.746 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.3522, allocations: 93.05 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3523, allocations: 107.5 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.3525, allocations: 139.2 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.3526, allocations: 8 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.3531, allocations: 315.6 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.3533, allocations: 107.5 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.3536, allocations: 214.5 kB / 1.025 GB, free: 3.777 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000936/0.3545, allocations: 0.806 MB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3545, allocations: 4 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3545, allocations: 0 / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.3546, allocations: 0 / 1.025 GB, free: 2.965 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.001232/0.3558, allocations: 0.8759 MB / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3558, allocations: 8.031 kB / 1.026 GB, free: 2.023 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.694e-05/0.3559, allocations: 64.19 kB / 1.026 GB, free: 1.961 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.3564, allocations: 388.2 kB / 1.027 GB, free: 1.543 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3564, allocations: 12.31 kB / 1.027 GB, free: 1.531 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.3565, allocations: 4.375 kB / 1.027 GB, free: 1.527 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.3567, allocations: 137.9 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3568, allocations: 0 / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3568, allocations: 4 kB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3568, allocations: 4 kB / 1.027 GB, free: 1.379 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.357, allocations: 98.59 kB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/0.3578, allocations: 0.5431 MB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.358, allocations: 106.5 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3581, allocations: 60.98 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.3582, allocations: 12.17 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.3584, allocations: 141 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.3584, allocations: 0 / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0005232/0.359, allocations: 310.4 kB / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.3591, allocations: 85.09 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/0.3601, allocations: 0.7896 MB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.3601, allocations: 33.7 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.3604, allocations: 288.2 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.3604, allocations: 27.64 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.3605, allocations: 25.7 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3607, allocations: 310 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.3607, allocations: 48.03 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.851e-05/0.3608, allocations: 51.92 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.361, allocations: 156.2 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.361, allocations: 4 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000348/0.3614, allocations: 266.5 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.3614, allocations: 33.7 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3615, allocations: 3.984 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3615, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.3616, allocations: 12 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3616, allocations: 0 / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.3617, allocations: 19.78 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.3617, 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.0003746/0.3621, allocations: 341.8 kB / 1.03 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.3622, allocations: 67.09 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.3627, allocations: 301 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3627, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3627, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3627, allocations: 3.984 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.3631, allocations: 385.4 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3631, allocations: 3.938 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.3632, allocations: 7.938 kB / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3632, allocations: 0 / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3632, allocations: 11.98 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3632, allocations: 0 / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3632, allocations: 0 / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.3636, allocations: 309.9 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.3638, allocations: 148.2 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.3639, allocations: 4 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.364, allocations: 7.984 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.364, allocations: 4 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.3641, allocations: 12 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007069/0.3648, allocations: 0.5809 MB / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3648, allocations: 0 / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004242/0.3652, 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.0003972/0.3656, allocations: 201 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.366, allocations: 211.5 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.366, allocations: 0 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.3662, 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.0005649/0.3667, allocations: 136.5 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.001653/0.3684, allocations: 1.118 MB / 1.034 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.3691, 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 3.91e-05/0.3691, allocations: 19.44 kB / 1.035 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of SimCode: time 3.8e-07/0.3691, allocations: 4 kB / 1.035 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of Templates: time 0.0109/0.38, allocations: 6.729 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=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/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