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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001508/0.001508, allocations: 108.3 kB / 15.99 MB, free: 6.355 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.001577/0.001577, allocations: 193.4 kB / 16.91 MB, free: 6.18 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.475/1.475, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 482.2 MB / 0.7548 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 75.75 kB / 0.9238 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8694/0.8713, allocations: 162.2 MB / 1.082 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003426/0.8748, allocations: 2.099 MB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003589/0.8784, allocations: 2.566 MB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.8786, allocations: 5.625 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.88, allocations: 0.5079 MB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.8802, allocations: 62 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.8813, allocations: 253 kB / 1.088 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005343/0.8818, allocations: 351.8 kB / 1.088 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.882, allocations: 89.61 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.8822, allocations: 111.2 kB / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.8824, allocations: 144.3 kB / 1.088 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.8824, allocations: 7.969 kB / 1.088 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006119/0.8831, allocations: 323.9 kB / 1.089 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.8832, allocations: 106.3 kB / 1.089 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.8834, allocations: 214.8 kB / 1.089 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009915/0.8844, allocations: 0.6305 MB / 1.089 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.8845, allocations: 0 / 1.089 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8845, allocations: 0.8438 kB / 1.089 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.8845, allocations: 0 / 1.089 GB, free: 13.67 MB / 0.8419 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.001341/0.8858, allocations: 0.8722 MB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8859, allocations: 9.844 kB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.886, allocations: 66.59 kB / 1.09 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.8865, allocations: 393.4 kB / 1.091 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.8866, allocations: 5.516 kB / 1.091 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.8866, allocations: 10.66 kB / 1.091 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.8869, allocations: 131.7 kB / 1.091 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.8869, allocations: 0 / 1.091 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.8869, allocations: 9.5 kB / 1.091 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.8869, allocations: 1.438 kB / 1.091 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.8871, allocations: 102 kB / 1.091 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009383/0.8881, allocations: 0.5389 MB / 1.092 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.8883, allocations: 107.4 kB / 1.092 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.8884, allocations: 63.55 kB / 1.092 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.981e-05/0.8884, allocations: 11.16 kB / 1.092 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.8888, allocations: 135.6 kB / 1.092 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.8888, allocations: 0 / 1.092 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0005415/0.8893, allocations: 309.8 kB / 1.092 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.8894, allocations: 85.11 kB / 1.092 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.8905, allocations: 0.7903 MB / 1.093 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.8905, allocations: 31.02 kB / 1.093 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.8908, allocations: 289.9 kB / 1.093 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.8909, allocations: 30.66 kB / 1.093 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.8909, allocations: 27.05 kB / 1.093 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.8911, allocations: 312.4 kB / 1.094 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.644e-05/0.8912, allocations: 46.62 kB / 1.094 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.8913, allocations: 50.95 kB / 1.094 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.8915, allocations: 154.2 kB / 1.094 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8915, allocations: 7.938 kB / 1.094 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004368/0.892, allocations: 267.8 kB / 1.094 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/0.8921, allocations: 40.36 kB / 1.094 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.8921, allocations: 0 / 1.094 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.8921, allocations: 0.8125 kB / 1.094 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.8922, allocations: 8.656 kB / 1.094 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.8922, allocations: 4.594 kB / 1.094 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.8923, allocations: 7.172 kB / 1.094 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.8924, allocations: 4.453 kB / 1.094 GB, free: 10.46 MB / 0.8419 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.000406/0.8928, allocations: 344.1 kB / 1.095 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.8929, allocations: 70.38 kB / 1.095 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.8934, allocations: 296.6 kB / 1.095 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.8934, allocations: 1.922 kB / 1.095 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8934, allocations: 1.031 kB / 1.095 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8934, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.8939, allocations: 386.5 kB / 1.095 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.8939, allocations: 4.594 kB / 1.095 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.894, allocations: 6.078 kB / 1.095 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.894, allocations: 1.672 kB / 1.095 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.894, allocations: 12.58 kB / 1.095 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.894, allocations: 0 / 1.095 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.894, allocations: 0 / 1.095 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.8945, allocations: 306.5 kB / 1.096 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.8946, allocations: 148.1 kB / 1.096 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.8947, allocations: 3.344 kB / 1.096 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.8948, allocations: 13.47 kB / 1.096 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.8949, allocations: 8.828 kB / 1.096 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.8949, allocations: 5.219 kB / 1.096 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00078/0.8957, allocations: 0.5883 MB / 1.096 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8957, allocations: 0 / 1.096 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005466/0.8962, allocations: 128.3 kB / 1.096 GB, free: 9.23 MB / 0.8419 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.0003844/0.8966, allocations: 180.9 kB / 1.097 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.897, allocations: 209.7 kB / 1.097 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.897, allocations: 0 / 1.097 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.8972, allocations: 154.7 kB / 1.097 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.8978, allocations: 132.9 kB / 1.097 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.8997, allocations: 1.256 MB / 1.098 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007824/0.9005, allocations: 0.9708 MB / 1.099 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.9006, allocations: 16.94 kB / 1.099 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.9006, allocations: 1.406 kB / 1.099 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of Templates: time 0.0139/0.9145, allocations: 6.739 MB / 1.106 GB, free: 6.609 MB / 0.8419 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 -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