Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_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_latest_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.001333/0.001333, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001251/0.001251, allocations: 187 kB / 17.34 MB, free: 5.742 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.562/2.562, allocations: 469.4 MB / 0.7428 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.91 kB / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8953/0.8969, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003893/0.9008, allocations: 2.159 MB / 1.223 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00364/0.9045, allocations: 2.647 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.9047, allocations: 0 / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.9063, allocations: 0.5422 MB / 1.226 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.9067, allocations: 123.4 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000738/0.9074, allocations: 235.1 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.908, allocations: 374.2 kB / 1.227 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.9082, allocations: 73.06 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.9084, allocations: 127.4 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.9086, allocations: 147.2 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.9087, allocations: 8 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.9089, allocations: 71.94 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.9091, allocations: 143.4 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.9094, allocations: 226.4 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007895/0.9102, allocations: 0.7046 MB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9102, allocations: 0 / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9102, allocations: 0 / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.271e-05/0.9102, allocations: 3.938 kB / 1.228 GB, free: 10.74 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001517/0.9118, allocations: 0.9183 MB / 1.229 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.9118, allocations: 12.03 kB / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.912, allocations: 68.09 kB / 1.229 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006338/0.9126, allocations: 456 kB / 1.23 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.9126, allocations: 4.375 kB / 1.23 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.9126, allocations: 8.125 kB / 1.23 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.9129, allocations: 100.2 kB / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.9129, allocations: 0 / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.9129, allocations: 0 / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.9129, allocations: 0 / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.9131, allocations: 47.97 kB / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.914, allocations: 0.5277 MB / 1.23 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.9144, allocations: 102.6 kB / 1.23 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.9145, allocations: 32.84 kB / 1.23 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.9145, allocations: 4 kB / 1.23 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.9147, allocations: 91.34 kB / 1.231 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.9147, allocations: 0 / 1.231 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004539/0.9152, allocations: 196.8 kB / 1.231 GB, free: 8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.9152, allocations: 102.8 kB / 1.231 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.9163, allocations: 0.9149 MB / 1.232 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.9164, allocations: 25.7 kB / 1.232 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.9166, allocations: 324 kB / 1.232 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.9167, allocations: 15.72 kB / 1.232 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.9167, allocations: 29.7 kB / 1.232 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.9168, allocations: 309.9 kB / 1.232 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.9169, allocations: 31.92 kB / 1.232 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.917, allocations: 72.27 kB / 1.233 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.9172, allocations: 69.7 kB / 1.233 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9172, allocations: 192 / 1.233 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002885/0.9175, allocations: 168.8 kB / 1.233 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.9175, allocations: 7.938 kB / 1.233 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9176, allocations: 4 kB / 1.233 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.9176, allocations: 0 / 1.233 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.9177, allocations: 16 kB / 1.233 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.9177, allocations: 3.984 kB / 1.233 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.9178, allocations: 15.91 kB / 1.233 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.9178, allocations: 4.391 kB / 1.233 GB, free: 5.828 MB / 0.9512 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.0003481/0.9182, allocations: 332.8 kB / 1.233 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.9183, allocations: 67.06 kB / 1.233 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.9184, allocations: 82.41 kB / 1.233 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.9184, allocations: 0 / 1.233 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.9184, allocations: 0 / 1.233 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.9184, allocations: 3.938 kB / 1.233 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.9188, allocations: 393.4 kB / 1.234 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9188, allocations: 4 kB / 1.234 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.9189, allocations: 8 kB / 1.234 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.9189, allocations: 0 / 1.234 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.9189, allocations: 3.984 kB / 1.234 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.9189, allocations: 4 kB / 1.234 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9189, allocations: 3.984 kB / 1.234 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.9192, allocations: 200.1 kB / 1.234 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.9194, allocations: 144.2 kB / 1.234 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.9194, allocations: 0 / 1.234 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.9196, allocations: 11.98 kB / 1.234 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.9196, allocations: 4 kB / 1.234 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.9197, allocations: 7.922 kB / 1.234 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007736/0.9204, allocations: 0.6786 MB / 1.235 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9205, allocations: 0 / 1.235 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003065/0.9208, allocations: 55.98 kB / 1.235 GB, free: 3.746 MB / 0.9512 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.001039/0.9218, allocations: 430 kB / 1.235 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.9221, allocations: 71.89 kB / 1.235 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.9221, allocations: 0 / 1.235 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.9222, allocations: 39.98 kB / 1.235 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007069/0.9229, allocations: 167.4 kB / 1.235 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.9246, allocations: 1.212 MB / 1.237 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.9252, allocations: 0.9902 MB / 1.238 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.9253, allocations: 27.44 kB / 1.238 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of SimCode: time 6.31e-07/0.9253, allocations: 0 / 1.238 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of Templates: time 0.01149/0.9368, allocations: 7.163 MB / 1.245 GB, free: 9.828 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches