Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.598/2.598, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 186.4 kB / 0.4902 GB, free: 2.297 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 223.1 MB / 0.7992 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.001089, allocations: 99.19 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005717/0.0005718, allocations: 9.156 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3477, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.547/4.895, allocations: 1.733 GB / 2.962 GB, free: 195.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/4.895, allocations: 98.58 kB / 2.963 GB, free: 195.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1456/5.041, allocations: 66.64 MB / 3.028 GB, free: 138.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.975e-06/5.041, allocations: 0 / 3.028 GB, free: 138.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001312/5.041, allocations: 27.98 kB / 3.028 GB, free: 138.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.00305/5.044, allocations: 1.244 MB / 3.029 GB, free: 137.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/5.044, allocations: 15.97 kB / 3.029 GB, free: 137.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/5.045, allocations: 194.4 kB / 3.029 GB, free: 137.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/5.047, allocations: 0.641 MB / 3.03 GB, free: 136.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/5.047, allocations: 62.31 kB / 3.03 GB, free: 136.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/5.047, allocations: 81.56 kB / 3.03 GB, free: 136.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/5.048, allocations: 0.8705 MB / 3.031 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/5.048, allocations: 3.938 kB / 3.031 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.663e-05/5.049, allocations: 37.39 kB / 3.031 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/5.049, allocations: 20 kB / 3.031 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/5.05, allocations: 1.095 MB / 3.032 GB, free: 135 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003812/5.054, allocations: 2.502 MB / 3.034 GB, free: 133 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/5.055, allocations: 0.7567 MB / 3.035 GB, free: 132.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/5.055, allocations: 117.3 kB / 3.035 GB, free: 132.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000678/5.056, allocations: 442.8 kB / 3.036 GB, free: 132.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 2.675e-06/5.056, allocations: 4 kB / 3.036 GB, free: 132.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.002935/5.059, allocations: 1.148 MB / 3.037 GB, free: 131.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/5.059, allocations: 244 kB / 3.037 GB, free: 130.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008022/5.06, allocations: 0.6277 MB / 3.038 GB, free: 130.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-05/5.06, allocations: 45.33 kB / 3.038 GB, free: 130.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/5.06, allocations: 401.4 kB / 3.038 GB, free: 130.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/5.06, allocations: 237.9 kB / 3.038 GB, free: 129.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/5.06, allocations: 11.25 kB / 3.038 GB, free: 129.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001024/5.061, allocations: 388 kB / 3.039 GB, free: 129.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/5.061, allocations: 232.3 kB / 3.039 GB, free: 129.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/5.061, allocations: 345.8 kB / 3.039 GB, free: 129.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/5.062, allocations: 278.9 kB / 3.039 GB, free: 128.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/5.062, allocations: 0 / 3.039 GB, free: 128.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001675/5.064, allocations: 0.7614 MB / 3.04 GB, free: 128.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/5.064, allocations: 9.094 kB / 3.04 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/5.064, allocations: 0 / 3.04 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/5.064, allocations: 84.7 kB / 3.04 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/5.065, allocations: 143.4 kB / 3.04 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/5.067, allocations: 1.549 MB / 3.042 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006401/5.067, allocations: 81.89 kB / 3.042 GB, free: 126.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/5.067, allocations: 23.55 kB / 3.042 GB, free: 126.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004419/5.068, allocations: 268.4 kB / 3.042 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/5.068, allocations: 82.97 kB / 3.042 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/5.07, allocations: 1.034 MB / 3.043 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/5.07, allocations: 8 kB / 3.043 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/5.07, allocations: 7.938 kB / 3.043 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/5.07, allocations: 3.984 kB / 3.043 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/5.071, allocations: 0.9002 MB / 3.044 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/5.071, allocations: 4 kB / 3.044 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/5.072, allocations: 147.3 kB / 3.044 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005174/5.072, allocations: 87.91 kB / 3.044 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/5.072, allocations: 18.48 kB / 3.044 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/5.074, allocations: 1.58 MB / 3.046 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/5.074, allocations: 12.06 kB / 3.046 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/5.076, allocations: 0.8753 MB / 3.047 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/5.076, allocations: 296.1 kB / 3.047 GB, free: 122 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/5.076, allocations: 18.38 kB / 3.047 GB, free: 122 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/5.077, allocations: 70.88 kB / 3.047 GB, free: 121.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/5.077, allocations: 64.11 kB / 3.047 GB, free: 121.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/5.077, allocations: 35.34 kB / 3.047 GB, free: 121.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006262/5.078, allocations: 0.5035 MB / 3.048 GB, free: 121.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.21e-07/5.078, allocations: 0 / 3.048 GB, free: 121.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001281/5.079, allocations: 367.7 kB / 3.048 GB, free: 121.2 MB / 1.167 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 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002446/5.082, allocations: 1.108 MB / 3.049 GB, free: 120.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001526/5.083, allocations: 0.753 MB / 3.05 GB, free: 119.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/5.083, allocations: 0 / 3.05 GB, free: 119.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008249/5.084, allocations: 0.4958 MB / 3.05 GB, free: 119.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/5.085, allocations: 241.8 kB / 3.051 GB, free: 119.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/5.089, allocations: 2.208 MB / 3.053 GB, free: 117.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/5.09, allocations: 1.041 MB / 3.054 GB, free: 116 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009019/5.091, allocations: 254.2 kB / 3.054 GB, free: 115.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/5.091, allocations: 94.58 kB / 3.054 GB, free: 115.7 MB / 1.167 GB Notification: Performance of SimCode: time 7.22e-07/5.091, allocations: 0 / 3.054 GB, free: 115.7 MB / 1.167 GB Notification: Performance of Templates: time 0.02946/5.12, allocations: 21.17 MB / 3.075 GB, free: 94.64 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches