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.001202/0.001202, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.00144/0.00144, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8862/0.8876, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003708/0.8914, allocations: 2.041 MB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003887/0.8953, allocations: 2.596 MB / 1.231 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.8955, allocations: 11.94 kB / 1.231 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.8971, allocations: 0.4972 MB / 1.231 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.8974, allocations: 79.52 kB / 1.231 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.8984, allocations: 278.3 kB / 1.232 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.899, allocations: 326.3 kB / 1.232 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.8991, allocations: 101 kB / 1.232 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.8993, allocations: 99.53 kB / 1.232 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.8995, allocations: 139.2 kB / 1.232 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.8996, allocations: 12 kB / 1.232 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.9001, allocations: 323.5 kB / 1.233 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.9003, allocations: 99.55 kB / 1.233 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.9005, allocations: 218.5 kB / 1.233 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.9015, allocations: 0.8182 MB / 1.234 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.9015, allocations: 3.984 kB / 1.234 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.527e-06/0.9015, allocations: 0 / 1.234 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.9016, allocations: 7.938 kB / 1.234 GB, free: 5.84 MB / 0.9512 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.001288/0.9028, allocations: 0.8912 MB / 1.235 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.9029, allocations: 8.031 kB / 1.235 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.903, allocations: 72.47 kB / 1.235 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.9036, allocations: 389 kB / 1.235 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.9036, allocations: 8.375 kB / 1.235 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.9036, allocations: 8.375 kB / 1.235 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.9039, allocations: 129.9 kB / 1.235 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.9039, allocations: 0 / 1.235 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.9039, allocations: 0 / 1.235 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.9039, allocations: 0 / 1.235 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.9041, allocations: 103.9 kB / 1.235 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.905, allocations: 0.551 MB / 1.236 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.9052, allocations: 110.5 kB / 1.236 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.9053, allocations: 56.98 kB / 1.236 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.9053, allocations: 12.11 kB / 1.236 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.9055, allocations: 137 kB / 1.236 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.984e-06/0.9055, allocations: 0 / 1.236 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.000508/0.9061, allocations: 314.9 kB / 1.237 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.9061, allocations: 77.11 kB / 1.237 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000943/0.9071, allocations: 0.7934 MB / 1.237 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.9071, allocations: 33.7 kB / 1.237 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.9074, allocations: 292.2 kB / 1.238 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.9074, allocations: 27.8 kB / 1.238 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.9075, allocations: 29.72 kB / 1.238 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9076, allocations: 314 kB / 1.238 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.9077, allocations: 39.98 kB / 1.238 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/0.9078, allocations: 51.97 kB / 1.238 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.908, allocations: 160.6 kB / 1.238 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.908, allocations: 0 / 1.238 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003476/0.9083, allocations: 278.8 kB / 1.239 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.9084, allocations: 37.7 kB / 1.239 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.9084, allocations: 4.078 kB / 1.239 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.9084, allocations: 0 / 1.239 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.9085, allocations: 15.92 kB / 1.239 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.9085, allocations: 3.984 kB / 1.239 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.9086, allocations: 11.95 kB / 1.239 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.9087, allocations: 8 kB / 1.239 GB, free: 0.6484 MB / 0.9512 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.0003219/0.909, allocations: 339.9 kB / 1.239 GB, free: 308 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.9091, allocations: 71.52 kB / 1.239 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/0.9095, allocations: 305 kB / 1.239 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.9095, allocations: 0 / 1.239 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9096, allocations: 0 / 1.239 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.9097, allocations: 140.7 kB / 1.239 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.9098, allocations: 4 kB / 1.239 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.9099, allocations: 11.98 kB / 1.239 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.9099, allocations: 4 kB / 1.239 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004162/0.9104, allocations: 365.9 kB / 1.24 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004238/0.9108, allocations: 467.9 kB / 1.24 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001145/0.9109, allocations: 83.97 kB / 1.24 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000677/0.9116, allocations: 0.5848 MB / 1.241 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of Backend: time 8.41e-07/0.9116, allocations: 0 / 1.241 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008742/0.9125, allocations: 327.3 kB / 1.241 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001965/0.9145, allocations: 1.678 MB / 1.243 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of Templates: time 0.01135/0.9259, allocations: 5.712 MB / 1.248 GB, free: 6.512 MB / 0.9669 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