Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 102.4 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.001537/0.001537, 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.387/1.387, 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 10.1.0-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 65.06 kB / 0.8707 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4091, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004453/0.4136, allocations: 2.168 MB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003811/0.4175, allocations: 2.659 MB / 1.024 GB, free: 4.953 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.4177, allocations: 7.938 kB / 1.024 GB, free: 4.945 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.4192, allocations: 0.5444 MB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.4196, allocations: 115.4 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.4203, allocations: 236.2 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.4208, allocations: 370.2 kB / 1.025 GB, free: 3.695 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.421, allocations: 77.06 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.4212, allocations: 123.4 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.4215, allocations: 143.2 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.4215, allocations: 8 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.4217, allocations: 71.89 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.422, allocations: 135.4 kB / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.4222, allocations: 222.4 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007298/0.4229, allocations: 0.7084 MB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4229, allocations: 0 / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4229, allocations: 0 / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.128e-06/0.423, allocations: 7.938 kB / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001326/0.4243, allocations: 0.9106 MB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4243, allocations: 8.031 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.4244, allocations: 76 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/0.425, allocations: 452 kB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.425, allocations: 384 / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.4251, allocations: 12.12 kB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.4253, allocations: 100.2 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4253, allocations: 0 / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.4254, allocations: 4 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4254, allocations: 0 / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.4255, allocations: 47.91 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.4263, allocations: 0.5123 MB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.4267, allocations: 106.7 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.4268, allocations: 36.84 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.4268, allocations: 4 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.427, allocations: 91.2 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 3.336e-06/0.427, allocations: 4 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004135/0.4275, allocations: 188.8 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.4276, allocations: 114.8 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.4287, allocations: 0.9149 MB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.4287, allocations: 25.7 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.429, allocations: 316 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.4291, allocations: 19.73 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.4291, allocations: 29.72 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4292, allocations: 317.9 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.4293, allocations: 27.98 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4294, allocations: 72.27 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.4296, allocations: 69.64 kB / 1.03 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4296, allocations: 192 / 1.03 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002803/0.4299, allocations: 168.8 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4299, allocations: 11.88 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4299, allocations: 4.047 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.43, allocations: 7.969 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.4301, allocations: 12 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4301, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.4302, allocations: 19.83 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.4302, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0003604/0.4306, allocations: 320.2 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4307, allocations: 67.16 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.4308, allocations: 78.41 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4308, allocations: 4 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4308, allocations: 0 / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4309, allocations: 3.938 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.4313, allocations: 389.4 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4313, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.4313, allocations: 15.92 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.4313, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4314, allocations: 7.938 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4314, allocations: 4 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4314, allocations: 0 / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.4317, allocations: 196.6 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.4318, allocations: 144.2 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.4319, allocations: 4 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.432, allocations: 4 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.4321, allocations: 11.98 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.4321, allocations: 7.938 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007825/0.4329, allocations: 0.6785 MB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4329, allocations: 0 / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002982/0.4332, allocations: 59.91 kB / 1.033 GB, free: 11.23 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001112/0.4343, allocations: 432.5 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.4346, allocations: 71.94 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4346, allocations: 64 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.4347, allocations: 43.92 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.4354, allocations: 167.8 kB / 1.033 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.437, allocations: 1.131 MB / 1.034 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.4377, allocations: 0.9902 MB / 1.035 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.4378, allocations: 51.25 kB / 1.035 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.4379, allocations: 27.44 kB / 1.035 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of SimCode: time 6.61e-07/0.4379, allocations: 0 / 1.035 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of Templates: time 0.01321/0.4511, allocations: 6.061 MB / 1.041 GB, free: 2.504 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches