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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00168/0.00168, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001926/0.001926, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 69.81 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2834, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003799/0.2873, allocations: 1.988 MB / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003394/0.2907, allocations: 2.504 MB / 0.9555 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.2908, allocations: 0 / 0.9555 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.2919, allocations: 477.9 kB / 0.956 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2921, allocations: 71.59 kB / 0.956 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.293, allocations: 271.1 kB / 0.9563 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.2934, allocations: 314.5 kB / 0.9566 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2936, allocations: 84.72 kB / 0.9567 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.2938, allocations: 95.47 kB / 0.9568 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.294, allocations: 127.3 kB / 0.9569 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.2941, allocations: 8 kB / 0.9569 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000525/0.2946, allocations: 327.5 kB / 0.9572 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.2947, allocations: 107.5 kB / 0.9573 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.2949, allocations: 202.6 kB / 0.9575 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008018/0.2957, allocations: 0.7788 MB / 0.9583 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2957, allocations: 0 / 0.9583 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.867e-06/0.2957, allocations: 3.984 kB / 0.9583 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2958, allocations: 0 / 0.9583 GB, free: 0.6875 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.001081/0.2968, allocations: 0.8294 MB / 0.9591 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2969, allocations: 12.03 kB / 0.9591 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.2971, allocations: 68.17 kB / 0.9592 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.2975, allocations: 360.5 kB / 0.9595 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2976, allocations: 12.31 kB / 0.9595 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.2976, allocations: 12.12 kB / 0.9595 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.2979, allocations: 125.6 kB / 0.9597 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2979, allocations: 0 / 0.9597 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2979, allocations: 0 / 0.9597 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2979, allocations: 4 kB / 0.9597 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.2981, allocations: 103.8 kB / 0.9598 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.2989, allocations: 0.5393 MB / 0.9603 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.2991, allocations: 106.6 kB / 0.9604 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.2992, allocations: 68.94 kB / 0.9604 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.2992, allocations: 7.984 kB / 0.9605 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.2994, allocations: 133.1 kB / 0.9606 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.2994, allocations: 0 / 0.9606 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.000461/0.2999, allocations: 318.4 kB / 0.9609 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.2999, allocations: 77.11 kB / 0.961 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.3008, allocations: 0.7581 MB / 0.9617 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3008, allocations: 29.7 kB / 0.9617 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.3011, allocations: 272.3 kB / 0.962 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3012, allocations: 27.56 kB / 0.962 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.3012, allocations: 33.7 kB / 0.962 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.3014, allocations: 310 kB / 0.9623 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.3015, allocations: 47.97 kB / 0.9624 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.604e-05/0.3016, allocations: 47.97 kB / 0.9624 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.3018, allocations: 152.2 kB / 0.9626 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3018, allocations: 3.938 kB / 0.9626 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003103/0.3021, allocations: 270.5 kB / 0.9628 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.3021, allocations: 33.69 kB / 0.9629 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3021, allocations: 0 / 0.9629 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3022, allocations: 4 kB / 0.9629 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.697e-05/0.3022, allocations: 8 kB / 0.9629 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3023, allocations: 7.938 kB / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.3024, allocations: 11.92 kB / 0.9629 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.3024, allocations: 4 kB / 0.9629 GB, free: 11.66 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.0004068/0.3028, allocations: 337.2 kB / 0.9632 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.3029, allocations: 67.23 kB / 0.9633 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.3033, allocations: 292.5 kB / 0.9636 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3033, allocations: 0 / 0.9636 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3034, allocations: 4 kB / 0.9636 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3034, allocations: 0 / 0.9636 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.3037, allocations: 377.3 kB / 0.9639 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3037, allocations: 0 / 0.9639 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.3038, allocations: 8 kB / 0.9639 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3038, allocations: 0 / 0.9639 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3038, allocations: 8 kB / 0.964 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3038, allocations: 0 / 0.964 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3038, allocations: 0 / 0.964 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.3042, allocations: 313.9 kB / 0.9642 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.3043, allocations: 136.3 kB / 0.9644 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.3044, allocations: 7.984 kB / 0.9644 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3045, allocations: 4 kB / 0.9644 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.3046, allocations: 8.188 kB / 0.9644 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3046, allocations: 11.98 kB / 0.9644 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005881/0.3052, allocations: 0.5614 MB / 0.965 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3052, allocations: 0 / 0.965 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004083/0.3056, allocations: 123.9 kB / 0.9651 GB, free: 9.309 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.0003638/0.306, allocations: 195.5 kB / 0.9653 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.3064, allocations: 211.2 kB / 0.9655 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3064, allocations: 0 / 0.9655 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.3066, allocations: 143.4 kB / 0.9656 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.3071, allocations: 106.9 kB / 0.9657 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3086, allocations: 1.022 MB / 0.9667 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.3091, allocations: 0.9659 MB / 0.9676 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.071e-05/0.3092, allocations: 29.47 kB / 0.9677 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.3092, allocations: 15.44 kB / 0.9677 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of SimCode: time 3.6e-07/0.3093, allocations: 0 / 0.9677 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of Templates: time 0.01063/0.3199, allocations: 5.165 MB / 0.9727 GB, free: 1.477 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 -s cvode -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