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.001702/0.001702, allocations: 107.5 kB / 16.41 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.001883/0.001884, allocations: 192.1 kB / 17.34 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 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.466/2.466, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 64.12 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9173/0.9188, allocations: 151.6 MB / 1.167 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003942/0.9228, allocations: 2.156 MB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003649/0.9265, allocations: 2.647 MB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.9267, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.9285, allocations: 0.5501 MB / 1.173 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004103/0.9289, allocations: 115.4 kB / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007592/0.9297, allocations: 243.2 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005834/0.9303, allocations: 371.6 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.9304, allocations: 73.05 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.9307, allocations: 131.3 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.931, allocations: 143.2 kB / 1.174 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.931, allocations: 8 kB / 1.174 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.9313, allocations: 71.88 kB / 1.174 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.9314, allocations: 127.5 kB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.9317, allocations: 234.3 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007938/0.9325, allocations: 0.7085 MB / 1.175 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.9325, allocations: 4 kB / 1.175 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9325, allocations: 0 / 1.175 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.415e-05/0.9325, allocations: 4 kB / 1.175 GB, free: 12.42 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.001693/0.9342, allocations: 0.9066 MB / 1.176 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.9343, allocations: 12.03 kB / 1.176 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.9344, allocations: 68.09 kB / 1.176 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.9351, allocations: 448.1 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.9351, allocations: 4.375 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.9352, allocations: 12.12 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.9354, allocations: 104.1 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.9354, allocations: 0 / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.9354, allocations: 4 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.9355, allocations: 0 / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.9356, allocations: 43.91 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008968/0.9365, allocations: 0.5317 MB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.9369, allocations: 94.66 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.937, allocations: 36.88 kB / 1.177 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.937, allocations: 7.984 kB / 1.177 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.9372, allocations: 91.38 kB / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.9372, allocations: 0 / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004481/0.9377, allocations: 189 kB / 1.177 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.9378, allocations: 106.8 kB / 1.177 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.9389, allocations: 0.9188 MB / 1.178 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.939, allocations: 29.7 kB / 1.178 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.9392, allocations: 316 kB / 1.179 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.9393, allocations: 23.78 kB / 1.179 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.9393, allocations: 29.7 kB / 1.179 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.9395, allocations: 313.9 kB / 1.179 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.819e-05/0.9395, allocations: 27.98 kB / 1.179 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.9397, allocations: 72.27 kB / 1.179 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.9398, allocations: 77.7 kB / 1.179 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9398, allocations: 0 / 1.179 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003327/0.9402, allocations: 164.7 kB / 1.179 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.9402, allocations: 11.98 kB / 1.179 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.9402, allocations: 0 / 1.179 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.9403, allocations: 0 / 1.179 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.9404, allocations: 15.94 kB / 1.179 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.9404, allocations: 0 / 1.179 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.9406, allocations: 19.86 kB / 1.179 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.9406, allocations: 4 kB / 1.179 GB, free: 7.508 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.0003976/0.941, allocations: 320.7 kB / 1.18 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.9411, allocations: 71.14 kB / 1.18 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.9412, allocations: 78.36 kB / 1.18 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.9412, allocations: 0 / 1.18 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9413, allocations: 0 / 1.18 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.9413, allocations: 7.922 kB / 1.18 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.9417, allocations: 389.4 kB / 1.18 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9418, allocations: 3.984 kB / 1.18 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.9418, allocations: 8 kB / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.9418, allocations: 4 kB / 1.18 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.9418, allocations: 0 / 1.18 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.9419, allocations: 4 kB / 1.18 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9419, allocations: 0 / 1.18 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.9423, allocations: 208.1 kB / 1.18 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.9425, allocations: 140.2 kB / 1.18 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.9426, allocations: 0 / 1.18 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.9427, allocations: 8 kB / 1.18 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.9428, allocations: 15.98 kB / 1.18 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.9429, allocations: 11.88 kB / 1.18 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009912/0.9439, allocations: 0.6746 MB / 1.181 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9439, allocations: 4 kB / 1.181 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003771/0.9442, allocations: 60 kB / 1.181 GB, free: 5.43 MB / 0.9044 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.001303/0.9456, allocations: 423.1 kB / 1.182 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.9458, allocations: 75.89 kB / 1.182 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.9458, allocations: 4 kB / 1.182 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.484e-05/0.9459, allocations: 31.98 kB / 1.182 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.9467, allocations: 175.3 kB / 1.182 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.9485, allocations: 1.185 MB / 1.183 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.9492, allocations: 0.994 MB / 1.184 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.9492, allocations: 23.44 kB / 1.184 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of SimCode: time 6.31e-07/0.9492, allocations: 4 kB / 1.184 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of Templates: time 0.01188/0.9611, allocations: 7.152 MB / 1.191 GB, free: 11.56 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