Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008446/0.0008445, allocations: 99.19 kB / 16.02 MB, free: 76 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.001017/0.001018, allocations: 185.6 kB / 16.92 MB, free: 6.688 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.51/1.51, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 8.219 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3525, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008717/0.3613, allocations: 6.859 MB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1646/0.5259, allocations: 147.8 MB / 1.21 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.5277, allocations: 15.94 kB / 1.21 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.529, allocations: 230.2 kB / 1.211 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.5325, allocations: 0.7091 MB / 1.211 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.5354, allocations: 0.986 MB / 1.212 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00302/0.5385, allocations: 2.177 MB / 1.214 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.5406, allocations: 1.087 MB / 1.215 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.5418, allocations: 0.5871 MB / 1.216 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.5431, allocations: 0.6876 MB / 1.217 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.5435, allocations: 44 kB / 1.217 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.5449, allocations: 415.6 kB / 1.217 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.5454, allocations: 294.5 kB / 1.217 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.5467, allocations: 0.8054 MB / 1.218 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.5497, allocations: 2.314 MB / 1.22 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5497, allocations: 0 / 1.22 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.365e-06/0.5497, allocations: 0 / 1.22 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001076/0.5498, allocations: 4 kB / 1.22 GB, free: 15.29 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004983/0.5548, allocations: 1.85 MB / 1.222 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.5549, allocations: 15.97 kB / 1.222 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006657/0.5615, allocations: 0.9389 MB / 1.223 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.5645, allocations: 1.086 MB / 1.224 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.5648, allocations: 123.3 kB / 1.224 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006196/0.5654, allocations: 160 kB / 1.225 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007004/0.5724, allocations: 2.082 MB / 1.227 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/0.5725, allocations: 0 / 1.227 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003997/0.5729, allocations: 67.98 kB / 1.227 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.573, allocations: 40 kB / 1.227 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007393/0.5804, allocations: 2.503 MB / 1.229 GB, free: 6.273 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.5956, allocations: 5.734 MB / 1.235 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00515/0.6007, allocations: 1.724 MB / 1.236 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/0.603, allocations: 0.809 MB / 1.237 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007889/0.6038, allocations: 499 kB / 1.238 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002837/0.6067, allocations: 1.083 MB / 1.239 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 4.909e-06/0.6067, allocations: 0 / 1.239 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.008196/0.6149, allocations: 2.638 MB / 1.241 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.6151, allocations: 193.2 kB / 1.241 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.6166, allocations: 0.8859 MB / 1.242 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.6167, allocations: 57.7 kB / 1.242 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006045/0.6174, allocations: 0.6251 MB / 1.243 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/0.6178, allocations: 449.5 kB / 1.243 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.6181, allocations: 109.7 kB / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6182, allocations: 353.9 kB / 1.244 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.6204, allocations: 0.7014 MB / 1.245 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/0.6225, allocations: 0.832 MB / 1.245 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004124/0.6267, allocations: 1.494 MB / 1.247 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6267, allocations: 0 / 1.247 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005425/0.6321, allocations: 1.851 MB / 1.249 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.6322, allocations: 8.062 kB / 1.249 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.6322, allocations: 0 / 1.249 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/0.6328, allocations: 88.72 kB / 1.249 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.6347, allocations: 355.5 kB / 1.249 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5949/1.23, allocations: 1.538 MB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/1.232, allocations: 227.3 kB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005182/1.233, allocations: 66.11 kB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001757/1.235, allocations: 388.8 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005741/1.235, allocations: 128.9 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007622/1.243, allocations: 2.236 MB / 1.254 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/1.243, allocations: 15.19 kB / 1.254 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.243, allocations: 0.8438 kB / 1.254 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/1.243, allocations: 9.938 kB / 1.254 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/1.246, allocations: 1.783 MB / 1.255 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/1.246, allocations: 0 / 1.255 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.247, allocations: 318.2 kB / 1.256 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005381/1.248, allocations: 91.83 kB / 1.256 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/1.248, allocations: 45.23 kB / 1.256 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/1.25, allocations: 1.56 MB / 1.257 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.25, allocations: 3.734 kB / 1.257 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005616/1.256, allocations: 1.937 MB / 1.259 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.257, allocations: 461.7 kB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004702/1.257, allocations: 32.05 kB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/1.259, allocations: 171.8 kB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003772/1.26, allocations: 115.6 kB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/1.26, allocations: 64.5 kB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001812/1.262, allocations: 0.643 MB / 1.261 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.31e-07/1.262, allocations: 0 / 1.261 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0023/1.264, allocations: 0.5142 MB / 1.261 GB, free: 184.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001858/1.266, allocations: 0.64 MB / 1.262 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005225/1.271, allocations: 1.854 MB / 1.264 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.271, allocations: 0 / 1.264 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002748/1.274, allocations: 1.054 MB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.276, allocations: 346.6 kB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008557/1.285, allocations: 3.813 MB / 1.269 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/1.286, allocations: 1.253 MB / 1.27 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/1.288, allocations: 203.4 kB / 1.27 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.288, allocations: 0 / 1.27 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05567/1.343, allocations: 32.2 MB / 1.301 GB, free: 166.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches