Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001503/0.001503, allocations: 107.1 kB / 15.99 MB, free: 5.891 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.001444/0.001444, allocations: 189.6 kB / 16.91 MB, free: 5.746 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.369/1.369, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.614/2.614, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.56 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3265, allocations: 159.2 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003573/0.3301, allocations: 2.11 MB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003404/0.3335, allocations: 2.566 MB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3337, allocations: 7.938 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.3349, allocations: 0.506 MB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.335, allocations: 59.72 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007684/0.3358, allocations: 250.3 kB / 1.07 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.3362, allocations: 362.3 kB / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.3364, allocations: 89.05 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3366, allocations: 107.5 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.3368, allocations: 143.2 kB / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.3368, allocations: 8 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004577/0.3373, allocations: 323.5 kB / 1.07 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.3374, allocations: 107.5 kB / 1.071 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.3376, allocations: 214.5 kB / 1.071 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000677/0.3383, allocations: 0.6275 MB / 1.071 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3383, allocations: 4 kB / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3383, allocations: 0 / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.3383, allocations: 0 / 1.071 GB, free: 7.59 MB / 0.8419 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.001089/0.3394, allocations: 0.872 MB / 1.072 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3395, allocations: 8.625 kB / 1.072 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.645e-05/0.3396, allocations: 76.03 kB / 1.072 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.34, allocations: 384.3 kB / 1.073 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.34, allocations: 4.375 kB / 1.073 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.3401, allocations: 12.38 kB / 1.073 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.3403, allocations: 128 kB / 1.073 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.3403, allocations: 0 / 1.073 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3404, allocations: 4 kB / 1.073 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3404, allocations: 4 kB / 1.073 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.3405, allocations: 103.9 kB / 1.073 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.3413, allocations: 0.5509 MB / 1.073 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.3415, allocations: 102.5 kB / 1.074 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.3416, allocations: 60.97 kB / 1.074 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.3417, allocations: 4.188 kB / 1.074 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.3419, allocations: 141 kB / 1.074 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.3419, allocations: 0 / 1.074 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0004965/0.3424, allocations: 310.4 kB / 1.074 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.3425, allocations: 85.11 kB / 1.074 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/0.3434, allocations: 0.7896 MB / 1.075 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3434, allocations: 25.7 kB / 1.075 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.3437, allocations: 292.2 kB / 1.075 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.3437, allocations: 27.64 kB / 1.075 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.3438, allocations: 33.7 kB / 1.075 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3439, allocations: 310 kB / 1.076 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.344, allocations: 47.97 kB / 1.076 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.3441, allocations: 43.98 kB / 1.076 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3443, allocations: 164.5 kB / 1.076 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3443, allocations: 0 / 1.076 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003268/0.3446, allocations: 270.5 kB / 1.076 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.3447, allocations: 41.69 kB / 1.076 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3447, allocations: 0 / 1.076 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3447, allocations: 4 kB / 1.076 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.3448, allocations: 8 kB / 1.076 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3448, allocations: 0 / 1.076 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.3449, allocations: 11.84 kB / 1.076 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.3449, allocations: 7.984 kB / 1.076 GB, free: 2.441 MB / 0.8419 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.0003378/0.3453, allocations: 339.3 kB / 1.076 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.3454, allocations: 79.06 kB / 1.077 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.3458, allocations: 289 kB / 1.077 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3458, allocations: 11.94 kB / 1.077 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3458, allocations: 0 / 1.077 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3458, allocations: 0 / 1.077 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.3462, allocations: 373.5 kB / 1.077 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3462, allocations: 3.938 kB / 1.077 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.3463, allocations: 11.98 kB / 1.077 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3463, allocations: 0 / 1.077 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3463, allocations: 4 kB / 1.077 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3463, allocations: 4 kB / 1.077 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3463, allocations: 0 / 1.077 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.3467, allocations: 317.8 kB / 1.078 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.3469, allocations: 144.2 kB / 1.078 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.3469, allocations: 4 kB / 1.078 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.347, allocations: 7.984 kB / 1.078 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.3471, allocations: 8 kB / 1.078 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.3471, allocations: 4 kB / 1.078 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006636/0.3478, allocations: 0.5848 MB / 1.078 GB, free: 168 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3478, allocations: 3.938 kB / 1.078 GB, free: 164 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003951/0.3482, allocations: 132 kB / 1.078 GB, free: 32 kB / 0.8419 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.5045/0.8527, allocations: 180.3 kB / 1.079 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004155/0.8531, allocations: 208.2 kB / 1.079 GB, free: 22.53 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8531, allocations: 0.7812 kB / 1.079 GB, free: 22.53 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.8533, allocations: 147.3 kB / 1.079 GB, free: 22.47 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.854, allocations: 131.3 kB / 1.079 GB, free: 22.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.8558, allocations: 1.244 MB / 1.08 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.8563, allocations: 0.9763 MB / 1.081 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.8563, allocations: 21.25 kB / 1.081 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.8563, allocations: 1.156 kB / 1.081 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.01228/0.8686, allocations: 6.733 MB / 1.088 GB, free: 20.63 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches