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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001182/0.001182, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001185/0.001185, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.89 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.876/0.8774, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004072/0.8816, allocations: 2.047 MB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004284/0.8859, allocations: 2.604 MB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.8861, allocations: 4 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.8877, allocations: 0.5072 MB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.8879, allocations: 71.53 kB / 1.214 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.8891, allocations: 275.4 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006177/0.8897, allocations: 322.3 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.8899, allocations: 101 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.8901, allocations: 103.5 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.8904, allocations: 143.2 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.8905, allocations: 8 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006205/0.8911, allocations: 319.6 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.8912, allocations: 99.55 kB / 1.215 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.8915, allocations: 218.4 kB / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.8928, allocations: 0.8216 MB / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8928, allocations: 0 / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8928, allocations: 0 / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.8928, allocations: 4 kB / 1.216 GB, free: 5.965 MB / 0.9356 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.00133/0.8941, allocations: 0.8643 MB / 1.217 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.8942, allocations: 8.031 kB / 1.217 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.8943, allocations: 72.03 kB / 1.217 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.8948, allocations: 384.3 kB / 1.217 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.8948, allocations: 12.31 kB / 1.217 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.8949, allocations: 8.375 kB / 1.217 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.8951, allocations: 129.9 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8951, allocations: 8 kB / 1.217 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.8952, allocations: 4 kB / 1.217 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.8952, allocations: 0 / 1.217 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.8953, allocations: 99.94 kB / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/0.8962, allocations: 0.547 MB / 1.218 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.8964, allocations: 106.6 kB / 1.218 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.727e-05/0.8965, allocations: 68.91 kB / 1.218 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.8966, allocations: 4.188 kB / 1.218 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.8968, allocations: 137 kB / 1.218 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.8968, allocations: 0 / 1.218 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0005532/0.8973, allocations: 310.4 kB / 1.219 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.8974, allocations: 89.03 kB / 1.219 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009813/0.8984, allocations: 0.7896 MB / 1.219 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.8984, allocations: 37.7 kB / 1.219 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.8987, allocations: 288.2 kB / 1.22 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.8987, allocations: 23.66 kB / 1.22 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.8988, allocations: 29.7 kB / 1.22 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8989, allocations: 306 kB / 1.22 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.899, allocations: 47.97 kB / 1.22 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.8991, allocations: 43.98 kB / 1.22 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.8993, allocations: 156.2 kB / 1.22 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8993, allocations: 4 kB / 1.22 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003244/0.8996, allocations: 274.4 kB / 1.221 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.8997, allocations: 37.69 kB / 1.221 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.8997, allocations: 3.938 kB / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.8997, allocations: 0 / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.8998, allocations: 12 kB / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.8998, allocations: 0 / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.8999, allocations: 7.938 kB / 1.221 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.8999, allocations: 4 kB / 1.221 GB, free: 0.8281 MB / 0.9356 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.0003798/0.9003, allocations: 343.3 kB / 1.221 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.9004, allocations: 71.09 kB / 1.221 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.9009, allocations: 300.9 kB / 1.221 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.9009, allocations: 4 kB / 1.221 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.9009, allocations: 3.984 kB / 1.221 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.9011, allocations: 148.2 kB / 1.221 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.9011, allocations: 4 kB / 1.221 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.9012, allocations: 4 kB / 1.221 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.9013, allocations: 11.98 kB / 1.221 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003689/0.9017, allocations: 362 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000429/0.9021, allocations: 463.9 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001038/0.9022, allocations: 79.97 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006542/0.9029, allocations: 0.5887 MB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of Backend: time 6.82e-07/0.9029, allocations: 0 / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008577/0.9038, allocations: 325.5 kB / 1.223 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002026/0.9058, allocations: 1.649 MB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of Templates: time 0.0119/0.9177, allocations: 5.715 MB / 1.23 GB, free: 6.719 MB / 0.9512 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