Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001146/0.001146, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001074/0.001074, allocations: 191 kB / 17.29 MB, free: 5.516 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.546/2.546, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 73.23 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3836, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004073/0.3877, allocations: 2.06 MB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003665/0.3914, allocations: 2.601 MB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.3916, allocations: 4 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.3929, allocations: 0.5094 MB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.3931, allocations: 71.59 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/0.394, allocations: 275.3 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.3945, allocations: 326.3 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.3947, allocations: 97.05 kB / 1.033 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.3948, allocations: 103.5 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.395, allocations: 131.2 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.3951, allocations: 12 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.3956, allocations: 323.5 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.3957, allocations: 107.5 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.396, allocations: 218.5 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009352/0.3969, allocations: 0.8099 MB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3969, allocations: 0 / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3969, allocations: 0 / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.397, allocations: 0 / 1.034 GB, free: 10.37 MB / 0.8106 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.001226/0.3982, allocations: 0.8798 MB / 1.035 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.3983, allocations: 16.03 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.433e-05/0.3984, allocations: 64.12 kB / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/0.3989, allocations: 388.2 kB / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.399, allocations: 384 / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.399, allocations: 12.38 kB / 1.035 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.3992, allocations: 126.7 kB / 1.036 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3993, allocations: 0 / 1.036 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.3993, allocations: 8 kB / 1.036 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3993, allocations: 0 / 1.036 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.3995, allocations: 107.9 kB / 1.036 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.4003, allocations: 0.5471 MB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.4005, allocations: 106.5 kB / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.4006, allocations: 60.97 kB / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/0.4007, allocations: 12.12 kB / 1.036 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.4009, allocations: 140.9 kB / 1.037 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.4009, allocations: 0 / 1.037 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0005031/0.4014, allocations: 306.5 kB / 1.037 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.4015, allocations: 85.11 kB / 1.037 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009395/0.4025, allocations: 0.7896 MB / 1.038 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.4025, allocations: 29.7 kB / 1.038 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.4027, allocations: 288.2 kB / 1.038 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.4028, allocations: 27.64 kB / 1.038 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.4029, allocations: 37.7 kB / 1.038 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.403, allocations: 306 kB / 1.038 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.752e-05/0.4031, allocations: 51.91 kB / 1.038 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.4031, allocations: 47.97 kB / 1.038 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.4033, allocations: 152.2 kB / 1.039 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4033, allocations: 3.938 kB / 1.039 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003106/0.4037, allocations: 266.5 kB / 1.039 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.4037, allocations: 37.69 kB / 1.039 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.4037, allocations: 0 / 1.039 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4037, allocations: 4 kB / 1.039 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.4038, allocations: 8 kB / 1.039 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4038, allocations: 64 / 1.039 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.404, allocations: 19.83 kB / 1.039 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.404, allocations: 4 kB / 1.039 GB, free: 5.215 MB / 0.8106 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.0003309/0.4043, allocations: 344.7 kB / 1.039 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.4044, allocations: 75.03 kB / 1.039 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.4048, allocations: 297 kB / 1.04 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4049, allocations: 4 kB / 1.04 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4049, allocations: 0 / 1.04 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4049, allocations: 0 / 1.04 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.4052, allocations: 373.5 kB / 1.04 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4053, allocations: 3.938 kB / 1.04 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.4053, allocations: 11.98 kB / 1.04 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4053, allocations: 0 / 1.04 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.4053, allocations: 8 kB / 1.04 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4053, allocations: 0 / 1.04 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4053, allocations: 0 / 1.04 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.4057, allocations: 326.2 kB / 1.04 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.4059, allocations: 148.2 kB / 1.04 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.406, allocations: 0 / 1.04 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.4061, allocations: 11.98 kB / 1.04 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.4061, allocations: 4 kB / 1.04 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.4061, allocations: 7.984 kB / 1.04 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006671/0.4068, allocations: 0.5848 MB / 1.041 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4068, allocations: 0 / 1.041 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000444/0.4073, allocations: 124 kB / 1.041 GB, free: 2.809 MB / 0.8106 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.0003988/0.4077, allocations: 189.7 kB / 1.041 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.408, allocations: 211.3 kB / 1.042 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.408, allocations: 0 / 1.042 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.4082, allocations: 147.3 kB / 1.042 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.4087, allocations: 127 kB / 1.042 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.4104, allocations: 1.07 MB / 1.043 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007756/0.4112, allocations: 0.986 MB / 1.044 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.4113, allocations: 25.89 kB / 1.044 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.4114, allocations: 15.44 kB / 1.044 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.4114, allocations: 0 / 1.044 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.01348/0.4249, allocations: 5.532 MB / 1.049 GB, free: 10.52 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches