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.001189/0.001189, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.00125/0.00125, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/0.7536, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003352/0.7569, allocations: 1.982 MB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003048/0.76, allocations: 2.5 MB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.7602, allocations: 1.812 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.7614, allocations: 475.4 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.7615, allocations: 64.8 kB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.7624, allocations: 281.3 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000366/0.7628, allocations: 306.7 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.7629, allocations: 101 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.7631, allocations: 103.5 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.7633, allocations: 126.4 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.7633, allocations: 8.281 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005747/0.7639, allocations: 326.8 kB / 1.095 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.764, allocations: 91.69 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.7642, allocations: 209.7 kB / 1.095 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.7654, allocations: 0.7805 MB / 1.096 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7654, allocations: 0 / 1.096 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7654, allocations: 0.5 kB / 1.096 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.7654, allocations: 0 / 1.096 GB, free: 1.238 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.001285/0.7667, allocations: 0.8347 MB / 1.097 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.497e-05/0.7668, allocations: 9.25 kB / 1.097 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.767, allocations: 61.94 kB / 1.097 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007603/0.7678, allocations: 366.5 kB / 1.097 GB, free: 200 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.7678, allocations: 8.594 kB / 1.097 GB, free: 196 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.7678, allocations: 18.14 kB / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.7682, allocations: 123.7 kB / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.7683, allocations: 0.625 kB / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.7683, allocations: 5.406 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.7683, allocations: 1.656 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.7686, allocations: 98.31 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.7698, allocations: 0.5317 MB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.7701, allocations: 114.3 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.7702, allocations: 68.06 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.985e-05/0.7703, allocations: 7.281 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.7705, allocations: 136.5 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.7705, allocations: 0 / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0006076/0.7712, allocations: 299.3 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.7712, allocations: 86.28 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.7724, allocations: 0.7572 MB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.7724, allocations: 30.67 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.7727, allocations: 279.3 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.7727, allocations: 24.84 kB / 1.1 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.7728, allocations: 27.48 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7729, allocations: 312.1 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/0.773, allocations: 51.88 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.197e-05/0.7731, allocations: 46.59 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.7733, allocations: 162 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7733, allocations: 7.875 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003342/0.7736, allocations: 256.1 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.7737, allocations: 39.95 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.7737, allocations: 0 / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.7737, allocations: 1.156 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.7738, allocations: 11.8 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.7738, allocations: 0.625 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.774, allocations: 22.5 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.774, allocations: 4.078 kB / 1.1 GB, free: 14.09 MB / 0.8731 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.0003799/0.7744, allocations: 337.7 kB / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.7745, allocations: 60.28 kB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.7749, allocations: 288 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.775, allocations: 0 / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.775, allocations: 5.219 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.7751, allocations: 147.1 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.7752, allocations: 7.969 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.7753, allocations: 4.547 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.7754, allocations: 12.92 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003982/0.7758, allocations: 366 kB / 1.102 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004275/0.7762, allocations: 457.8 kB / 1.102 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001149/0.7764, allocations: 81.12 kB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008162/0.7772, allocations: 0.5685 MB / 1.103 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of Backend: time 6.91e-07/0.7772, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009742/0.7782, allocations: 315.4 kB / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001814/0.78, allocations: 1.591 MB / 1.105 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of Templates: time 0.01118/0.7912, allocations: 5.347 MB / 1.11 GB, free: 11.14 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/jenkins1/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