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.004724/0.004724, allocations: 97.83 kB / 15.73 MB, free: 6.055 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.001086/0.001086, allocations: 195.8 kB / 16.68 MB, free: 5.977 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.469/2.469, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 64.3 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2821, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003133/0.2852, allocations: 1.992 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004231/0.2895, allocations: 2.492 MB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.2897, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.2916, allocations: 489.8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.2918, allocations: 55.67 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2931, allocations: 283.1 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.2935, allocations: 310.6 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2937, allocations: 88.64 kB / 1.094 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.2939, allocations: 99.52 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.294, allocations: 131.2 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.2941, allocations: 8 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.2946, allocations: 319.5 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2947, allocations: 99.55 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.2949, allocations: 206.6 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008628/0.2958, allocations: 0.786 MB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2958, allocations: 0 / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2958, allocations: 0 / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.2958, allocations: 0 / 1.095 GB, free: 10.14 MB / 0.8575 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.00107/0.2969, allocations: 0.8602 MB / 1.096 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2969, allocations: 8.031 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.297, allocations: 68.5 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.2975, allocations: 373 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2976, allocations: 12.38 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.2976, allocations: 11.94 kB / 1.096 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.2978, allocations: 125.6 kB / 1.097 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2979, allocations: 0 / 1.097 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.2979, allocations: 4 kB / 1.097 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2979, allocations: 0 / 1.097 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.2981, allocations: 101.5 kB / 1.097 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.2989, allocations: 0.5473 MB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.299, allocations: 110.4 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.2991, allocations: 56.98 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.2992, allocations: 7.984 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.2994, allocations: 129.1 kB / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 3.055e-06/0.2994, allocations: 0 / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004863/0.2999, allocations: 310.9 kB / 1.098 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.3, allocations: 81.11 kB / 1.098 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009195/0.3009, allocations: 0.762 MB / 1.099 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3009, allocations: 33.7 kB / 1.099 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.3012, allocations: 268.3 kB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.3012, allocations: 31.73 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.3013, allocations: 29.7 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3014, allocations: 310 kB / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.3015, allocations: 60.03 kB / 1.099 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.3016, allocations: 43.98 kB / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.3018, allocations: 172.4 kB / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3018, allocations: 0 / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000341/0.3022, allocations: 259 kB / 1.1 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.3022, allocations: 33.7 kB / 1.1 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3022, allocations: 7.922 kB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3022, allocations: 0 / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.3023, allocations: 8 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3023, allocations: 0 / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.3025, allocations: 15.89 kB / 1.1 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3025, allocations: 4 kB / 1.1 GB, free: 5.074 MB / 0.8575 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.0003148/0.3028, allocations: 339.3 kB / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.3029, allocations: 71.52 kB / 1.1 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.3033, allocations: 292.6 kB / 1.1 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3033, allocations: 3.984 kB / 1.1 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3033, allocations: 0 / 1.1 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3033, allocations: 4 kB / 1.1 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.3037, allocations: 369.4 kB / 1.101 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3037, allocations: 0 / 1.101 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.3037, allocations: 4 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3037, allocations: 0 / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.3038, allocations: 11.98 kB / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3038, allocations: 0 / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3038, allocations: 0 / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.3042, allocations: 322 kB / 1.101 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3043, allocations: 144.7 kB / 1.101 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.3044, allocations: 8 kB / 1.101 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3045, allocations: 7.984 kB / 1.101 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.3046, allocations: 8 kB / 1.101 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.3046, allocations: 4 kB / 1.101 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006288/0.3052, allocations: 0.5653 MB / 1.102 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3052, allocations: 0 / 1.102 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004415/0.3057, allocations: 123.8 kB / 1.102 GB, free: 2.711 MB / 0.8575 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.0004326/0.3061, allocations: 195 kB / 1.102 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.3064, allocations: 207.3 kB / 1.102 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3064, allocations: 0 / 1.102 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.3066, allocations: 143.5 kB / 1.102 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.3071, allocations: 114.9 kB / 1.103 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3084, allocations: 1.029 MB / 1.104 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.309, allocations: 0.9699 MB / 1.105 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.776e-05/0.3091, allocations: 25.55 kB / 1.105 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.3091, allocations: 11.44 kB / 1.105 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.3091, allocations: 3.938 kB / 1.105 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.0105/0.3196, allocations: 5.165 MB / 1.11 GB, free: 10.86 MB / 0.8731 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/jenkins/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