Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 104.1 kB / 15.98 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.001689/0.001689, allocations: 187.5 kB / 16.9 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.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.98 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2788, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003782/0.2826, allocations: 2.046 MB / 0.9518 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003386/0.286, allocations: 2.473 MB / 0.9542 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.2862, allocations: 4 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.2876, allocations: 478.3 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.2878, allocations: 51.73 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/0.2887, allocations: 247.6 kB / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.2892, allocations: 342.3 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.2894, allocations: 96.69 kB / 0.9554 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.2896, allocations: 103.5 kB / 0.9555 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2898, allocations: 135.3 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.2898, allocations: 8 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.2903, allocations: 323.5 kB / 0.9559 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.2905, allocations: 99.55 kB / 0.956 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.2907, allocations: 202.6 kB / 0.9562 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007046/0.2914, allocations: 0.6003 MB / 0.9568 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2914, allocations: 0 / 0.9568 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2914, allocations: 3.938 kB / 0.9568 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.2914, allocations: 3.938 kB / 0.9568 GB, free: 2.012 MB / 0.7325 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.001222/0.2926, allocations: 0.8411 MB / 0.9576 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2927, allocations: 8.031 kB / 0.9576 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.2928, allocations: 60.19 kB / 0.9577 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.2932, allocations: 360.5 kB / 0.958 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.2933, allocations: 4.375 kB / 0.958 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.2933, allocations: 16.12 kB / 0.958 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.2935, allocations: 121.6 kB / 0.9582 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2936, allocations: 0 / 0.9582 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.2936, allocations: 12 kB / 0.9582 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2936, allocations: 0 / 0.9582 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.2938, allocations: 103.8 kB / 0.9583 GB, free: 408 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.2946, allocations: 0.5354 MB / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.2948, allocations: 110.6 kB / 0.9589 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.352e-05/0.2949, allocations: 64.97 kB / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.295, allocations: 11.98 kB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.2952, allocations: 125.1 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.2952, allocations: 0 / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0004898/0.2957, allocations: 306.5 kB / 0.9594 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.2958, allocations: 85.11 kB / 0.9595 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008827/0.2967, allocations: 0.7581 MB / 0.9602 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.2967, allocations: 33.7 kB / 0.9602 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.297, allocations: 276.2 kB / 0.9605 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.297, allocations: 31.55 kB / 0.9605 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.2971, allocations: 21.72 kB / 0.9605 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2972, allocations: 318 kB / 0.9608 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.2973, allocations: 39.98 kB / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.2973, allocations: 47.97 kB / 0.9609 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.2975, allocations: 160.2 kB / 0.9611 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2975, allocations: 7.938 kB / 0.9611 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003285/0.2979, allocations: 263 kB / 0.9613 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.2979, allocations: 33.7 kB / 0.9614 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2979, allocations: 3.938 kB / 0.9614 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.298, allocations: 0 / 0.9614 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.298, allocations: 15.98 kB / 0.9614 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2981, allocations: 0 / 0.9614 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.2982, allocations: 7.938 kB / 0.9614 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2982, allocations: 8.062 kB / 0.9614 GB, free: 13 MB / 0.7481 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.0003235/0.2985, allocations: 340.8 kB / 0.9617 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.2986, allocations: 67.19 kB / 0.9618 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/0.2991, allocations: 300.5 kB / 0.9621 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2991, allocations: 0 / 0.9621 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2991, allocations: 0 / 0.9621 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2991, allocations: 0 / 0.9621 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.2995, allocations: 373.4 kB / 0.9624 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2995, allocations: 4 kB / 0.9624 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.2995, allocations: 4 kB / 0.9625 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2995, allocations: 0 / 0.9625 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2996, allocations: 8 kB / 0.9625 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2996, allocations: 0 / 0.9625 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2996, allocations: 3.938 kB / 0.9625 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.3, allocations: 309.9 kB / 0.9628 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.3001, allocations: 140.3 kB / 0.9629 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.3002, allocations: 8 kB / 0.9629 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3003, allocations: 4 kB / 0.9629 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.3003, allocations: 11.98 kB / 0.9629 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3004, allocations: 4 kB / 0.9629 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006671/0.301, allocations: 0.5653 MB / 0.9635 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.301, allocations: 0 / 0.9635 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004232/0.3015, allocations: 123.9 kB / 0.9636 GB, free: 10.64 MB / 0.7481 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.0004425/0.3019, allocations: 187.2 kB / 0.9638 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.3022, allocations: 211.2 kB / 0.964 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3023, allocations: 0 / 0.964 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.3024, allocations: 151.4 kB / 0.9641 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3029, allocations: 104.9 kB / 0.9642 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3046, allocations: 1.191 MB / 0.9654 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.3052, allocations: 0.9659 MB / 0.9663 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.3052, allocations: 15.44 kB / 0.9663 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of SimCode: time 3.81e-07/0.3052, allocations: 0 / 0.9663 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.01116/0.3164, allocations: 6.298 MB / 0.9725 GB, free: 1.48 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches