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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001693/0.001693, allocations: 111.2 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.002232/0.002232, allocations: 190.7 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.471/1.471, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 64.12 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9953/0.9968, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003612/1, allocations: 2.164 MB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00337/1.004, allocations: 2.643 MB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/1.004, allocations: 4 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/1.005, allocations: 0.5488 MB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002537/1.006, allocations: 119.4 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/1.006, allocations: 240 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004358/1.007, allocations: 372 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/1.007, allocations: 69.06 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/1.007, allocations: 131.3 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/1.007, allocations: 147.2 kB / 1.174 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/1.007, allocations: 8 kB / 1.174 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/1.007, allocations: 71.88 kB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/1.008, allocations: 127.5 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002054/1.008, allocations: 234.3 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007415/1.009, allocations: 0.7118 MB / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.009, allocations: 3.984 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.703e-06/1.009, allocations: 0 / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.939e-06/1.009, allocations: 0 / 1.175 GB, free: 12.27 MB / 0.9044 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.001221/1.01, allocations: 0.9377 MB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.01, allocations: 11.97 kB / 1.176 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.749e-05/1.01, allocations: 72.47 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/1.011, allocations: 456.8 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/1.011, allocations: 4.375 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/1.011, allocations: 12.12 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/1.011, allocations: 96.16 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/1.011, allocations: 4 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/1.011, allocations: 4 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.011, allocations: 4 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/1.011, allocations: 39.91 kB / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007426/1.012, allocations: 0.5278 MB / 1.177 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/1.012, allocations: 102.8 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.522e-05/1.012, allocations: 36.78 kB / 1.177 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/1.012, allocations: 0 / 1.177 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/1.012, allocations: 91.36 kB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/1.012, allocations: 0 / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003975/1.013, allocations: 189.2 kB / 1.177 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/1.013, allocations: 110.8 kB / 1.177 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/1.014, allocations: 0.9226 MB / 1.178 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/1.014, allocations: 33.7 kB / 1.178 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/1.014, allocations: 312 kB / 1.179 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/1.014, allocations: 19.89 kB / 1.179 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/1.014, allocations: 21.72 kB / 1.179 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.014, allocations: 317.9 kB / 1.179 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/1.015, allocations: 27.98 kB / 1.179 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/1.015, allocations: 80.25 kB / 1.179 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/1.015, allocations: 69.64 kB / 1.179 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.015, allocations: 0 / 1.179 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00027/1.015, allocations: 173.5 kB / 1.179 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.015, allocations: 4.188 kB / 1.179 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.015, allocations: 8.016 kB / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.015, allocations: 3.938 kB / 1.179 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/1.015, allocations: 15.94 kB / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/1.015, allocations: 0 / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/1.015, allocations: 19.88 kB / 1.179 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/1.015, allocations: 7.938 kB / 1.179 GB, free: 7.309 MB / 0.9044 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.0003054/1.016, allocations: 316.8 kB / 1.18 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/1.016, allocations: 75.52 kB / 1.18 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/1.016, allocations: 78.41 kB / 1.18 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.016, allocations: 4 kB / 1.18 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/1.016, allocations: 0 / 1.18 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/1.016, allocations: 144.6 kB / 1.18 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/1.016, allocations: 3.938 kB / 1.18 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/1.016, allocations: 7.984 kB / 1.18 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/1.016, allocations: 8 kB / 1.18 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002767/1.017, allocations: 196.8 kB / 1.18 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003426/1.017, allocations: 346.3 kB / 1.18 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.321e-05/1.017, allocations: 31.98 kB / 1.18 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007566/1.018, allocations: 0.6785 MB / 1.181 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of Backend: time 4.61e-07/1.018, allocations: 0 / 1.181 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001453/1.019, allocations: 473 kB / 1.182 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002062/1.021, allocations: 1.73 MB / 1.183 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of Templates: time 0.01225/1.034, allocations: 6.121 MB / 1.189 GB, free: 13.32 MB / 0.92 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 -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