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.007314/0.007314, allocations: 103 kB / 15.73 MB, free: 6.035 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.002334/0.002335, allocations: 190 kB / 16.67 MB, free: 5.965 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.353/2.353, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.31 kB / 0.9509 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2895, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003269/0.2929, allocations: 1.985 MB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003197/0.2961, allocations: 2.512 MB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2962, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.2974, allocations: 481.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2975, allocations: 63.66 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008066/0.2983, allocations: 273.4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.2987, allocations: 310.5 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2989, allocations: 88.69 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.299, allocations: 99.53 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.2992, allocations: 131.2 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.2992, allocations: 8 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.2997, allocations: 319.6 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.2998, allocations: 99.5 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.3, allocations: 198.6 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.3008, allocations: 0.7905 MB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3008, allocations: 0 / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3008, allocations: 0 / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3008, allocations: 0 / 1.095 GB, free: 10.11 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.000934/0.3017, allocations: 0.8372 MB / 1.096 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3018, allocations: 16.02 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.637e-05/0.3019, allocations: 60.19 kB / 1.096 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.3023, allocations: 360.4 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3023, allocations: 8.375 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3023, allocations: 15.88 kB / 1.096 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.3026, allocations: 125.6 kB / 1.096 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3026, allocations: 0 / 1.096 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3026, allocations: 8 kB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3026, allocations: 4 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3028, allocations: 101.7 kB / 1.097 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/0.3035, allocations: 0.5278 MB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.3036, allocations: 106.5 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.3037, allocations: 68.97 kB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.3038, allocations: 8 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.304, allocations: 137 kB / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.304, allocations: 0 / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004436/0.3044, allocations: 306.5 kB / 1.098 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3045, allocations: 77.11 kB / 1.098 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/0.3053, allocations: 0.7581 MB / 1.099 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3053, allocations: 25.7 kB / 1.099 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.3055, allocations: 288.2 kB / 1.099 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.3056, allocations: 23.66 kB / 1.099 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.3056, allocations: 29.7 kB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.3057, allocations: 313.9 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.3058, allocations: 51.97 kB / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.3059, allocations: 43.97 kB / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.306, allocations: 164.1 kB / 1.099 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3061, allocations: 64 / 1.099 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002949/0.3064, allocations: 263 kB / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.3064, allocations: 41.69 kB / 1.1 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3064, allocations: 0 / 1.1 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3064, allocations: 4 kB / 1.1 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/0.3065, allocations: 7.938 kB / 1.1 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3065, allocations: 0 / 1.1 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3066, allocations: 19.83 kB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3067, allocations: 4 kB / 1.1 GB, free: 5.086 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.0002889/0.307, allocations: 335.3 kB / 1.1 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.307, allocations: 63.25 kB / 1.1 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.3074, allocations: 296.6 kB / 1.1 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3074, allocations: 0 / 1.1 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3075, allocations: 3.938 kB / 1.1 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3075, allocations: 0 / 1.1 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.3078, allocations: 377.4 kB / 1.101 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3078, allocations: 0 / 1.101 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.3079, allocations: 11.94 kB / 1.101 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3079, allocations: 0 / 1.101 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3079, allocations: 4 kB / 1.101 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3079, allocations: 4 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3079, allocations: 0 / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.3083, allocations: 313.8 kB / 1.101 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.3084, allocations: 140.3 kB / 1.101 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.3085, allocations: 8 kB / 1.101 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.3086, allocations: 4 kB / 1.101 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.3086, allocations: 3.984 kB / 1.101 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3087, allocations: 12 kB / 1.101 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006064/0.3093, allocations: 0.5614 MB / 1.102 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3093, allocations: 0 / 1.102 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003787/0.3097, allocations: 123.9 kB / 1.102 GB, free: 2.738 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.0003614/0.31, allocations: 191.1 kB / 1.102 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.3103, allocations: 207.3 kB / 1.102 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3103, allocations: 0 / 1.102 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3105, allocations: 147.3 kB / 1.102 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.3109, allocations: 107 kB / 1.103 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3123, allocations: 1.026 MB / 1.104 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.3128, allocations: 0.9543 MB / 1.104 GB, free: 28 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.514e-05/0.3129, allocations: 25.53 kB / 1.104 GB, free: 0 / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.313, allocations: 15.48 kB / 1.105 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.313, allocations: 0 / 1.105 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.01007/0.323, allocations: 5.245 MB / 1.11 GB, free: 10.84 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