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.001911/0.001911, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 200 kB / 16.79 MB, free: 6.828 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.485/1.485, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.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.682/2.682, allocations: 437 MB / 0.7106 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.91 kB / 0.8692 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7659/0.7674, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004255/0.7717, allocations: 2.216 MB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00353/0.7752, allocations: 2.613 MB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.7755, allocations: 3.938 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.7773, allocations: 0.5349 MB / 1.023 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.7777, allocations: 107.5 kB / 1.023 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008384/0.7785, allocations: 223 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.7791, allocations: 354.2 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.7793, allocations: 77 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.7795, allocations: 115.4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.7798, allocations: 155.2 kB / 1.024 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.7798, allocations: 4 kB / 1.024 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.7801, allocations: 51.95 kB / 1.024 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.7803, allocations: 127.5 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.7806, allocations: 230.3 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.7813, allocations: 0.5652 MB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.7813, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7813, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.7813, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 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.001646/0.783, allocations: 0.9029 MB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.783, allocations: 16.02 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.7832, allocations: 72 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/0.7838, allocations: 448.1 kB / 1.026 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.7838, allocations: 4.375 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.7839, allocations: 8.125 kB / 1.026 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.7841, allocations: 104.2 kB / 1.026 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7841, allocations: 0 / 1.026 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.7842, allocations: 0 / 1.026 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7842, allocations: 3.938 kB / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.7843, allocations: 43.97 kB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008602/0.7852, allocations: 0.5278 MB / 1.027 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.7856, allocations: 102.7 kB / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.394e-05/0.7857, allocations: 32.84 kB / 1.027 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.7858, allocations: 0 / 1.027 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.7859, allocations: 95.34 kB / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.786, allocations: 0 / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004372/0.7864, allocations: 192.8 kB / 1.027 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.209e-05/0.7865, allocations: 102.8 kB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.7876, allocations: 0.9188 MB / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.7876, allocations: 29.7 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.7879, allocations: 316 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.7879, allocations: 23.8 kB / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.788, allocations: 21.72 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7881, allocations: 321.8 kB / 1.029 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-05/0.7882, allocations: 27.98 kB / 1.029 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.7883, allocations: 72.27 kB / 1.029 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.7885, allocations: 73.64 kB / 1.029 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7885, allocations: 0 / 1.029 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000281/0.7888, allocations: 172.8 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7888, allocations: 4 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7888, allocations: 4 kB / 1.029 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.7889, allocations: 0 / 1.029 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.7889, allocations: 15.98 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.789, allocations: 0 / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.7891, allocations: 19.77 kB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.7891, allocations: 12.03 kB / 1.029 GB, free: 6.484 MB / 0.7794 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.0003367/0.7895, allocations: 318.2 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.7895, allocations: 63.16 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.7897, allocations: 78.41 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.7897, allocations: 4 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7897, allocations: 7.875 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.7897, allocations: 3.938 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.7901, allocations: 389.4 kB / 1.03 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7901, allocations: 0 / 1.03 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.7902, allocations: 15.98 kB / 1.03 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.7902, allocations: 0 / 1.03 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.7902, allocations: 0 / 1.03 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7902, allocations: 0 / 1.03 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7902, allocations: 4 kB / 1.03 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.7905, allocations: 200.2 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.7907, allocations: 132.2 kB / 1.03 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.7907, allocations: 8 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.7909, allocations: 8 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.7909, allocations: 7.984 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.791, allocations: 7.938 kB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007768/0.7917, allocations: 0.6824 MB / 1.031 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7917, allocations: 0 / 1.031 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000303/0.7921, allocations: 63.91 kB / 1.031 GB, free: 4.422 MB / 0.7794 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.001074/0.7931, allocations: 430 kB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.7934, allocations: 79.94 kB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7934, allocations: 0 / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.75e-05/0.7935, allocations: 44.06 kB / 1.031 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/0.7943, allocations: 153.2 kB / 1.032 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.7961, allocations: 1.315 MB / 1.033 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.7967, allocations: 0.9983 MB / 1.034 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.7968, allocations: 27.38 kB / 1.034 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.7968, allocations: 0 / 1.034 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of Templates: time 0.01118/0.808, allocations: 7.127 MB / 1.041 GB, free: 10.43 MB / 0.795 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