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.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.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.001109/0.001109, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.00112/0.00112, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.5 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3272, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009591/0.3368, allocations: 7.369 MB / 1.071 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7004/1.037, allocations: 151.7 MB / 1.22 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/1.039, allocations: 22.44 kB / 1.22 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/1.041, allocations: 305.5 kB / 1.22 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003283/1.044, allocations: 0.8098 MB / 1.221 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/1.047, allocations: 1.129 MB / 1.222 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00317/1.05, allocations: 2.341 MB / 1.224 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/1.052, allocations: 1.15 MB / 1.225 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/1.054, allocations: 0.8968 MB / 1.226 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/1.055, allocations: 0.9818 MB / 1.227 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006145/1.056, allocations: 265.4 kB / 1.227 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/1.057, allocations: 0.6176 MB / 1.228 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000745/1.058, allocations: 0.5445 MB / 1.228 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001718/1.06, allocations: 1.056 MB / 1.229 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003911/1.064, allocations: 3.057 MB / 1.232 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.064, allocations: 0 / 1.232 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.164e-06/1.064, allocations: 0 / 1.232 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001026/1.064, allocations: 0 / 1.232 GB, free: 12.67 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.005786/1.07, allocations: 2.236 MB / 1.235 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.07, allocations: 8.625 kB / 1.235 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006161/1.076, allocations: 0.8607 MB / 1.235 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/1.079, allocations: 1.095 MB / 1.237 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/1.079, allocations: 123.3 kB / 1.237 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005992/1.08, allocations: 156 kB / 1.237 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00615/1.086, allocations: 2.055 MB / 1.239 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/1.086, allocations: 0 / 1.239 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002881/1.086, allocations: 71.94 kB / 1.239 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/1.086, allocations: 36 kB / 1.239 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006623/1.093, allocations: 2.444 MB / 1.241 GB, free: 3.434 MB / 0.9512 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.011/1.104, allocations: 5.703 MB / 1.247 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/1.108, allocations: 1.716 MB / 1.249 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/1.111, allocations: 0.799 MB / 1.249 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007167/1.111, allocations: 494.9 kB / 1.25 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002632/1.114, allocations: 1.067 MB / 1.251 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=139): time 4.679e-06/1.114, allocations: 0 / 1.251 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=139): time 0.007904/1.122, allocations: 2.603 MB / 1.253 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.122, allocations: 197.2 kB / 1.254 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/1.124, allocations: 0.8848 MB / 1.254 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/1.124, allocations: 57.7 kB / 1.255 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/1.124, allocations: 0.6328 MB / 1.255 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004418/1.125, allocations: 449.5 kB / 1.256 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/1.125, allocations: 270.6 kB / 1.256 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.126, allocations: 357.9 kB / 1.256 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/1.128, allocations: 0.6858 MB / 1.257 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/1.13, allocations: 0.8319 MB / 1.258 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003882/1.134, allocations: 1.463 MB / 1.259 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.134, allocations: 0 / 1.259 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005198/1.139, allocations: 1.832 MB / 1.261 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.139, allocations: 8 kB / 1.261 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.139, allocations: 0 / 1.261 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/1.14, allocations: 88.83 kB / 1.261 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.141, allocations: 351.5 kB / 1.261 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/1.144, allocations: 1.643 MB / 1.263 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.145, allocations: 210.7 kB / 1.263 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/1.146, allocations: 59.94 kB / 1.263 GB, free: 12.47 MB / 0.9825 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.0007889/1.146, allocations: 390.3 kB / 1.264 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/1.147, allocations: 130.5 kB / 1.264 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006064/1.153, allocations: 2.214 MB / 1.266 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/1.153, allocations: 19.98 kB / 1.266 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.153, allocations: 4 kB / 1.266 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.153, allocations: 7.922 kB / 1.266 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/1.155, allocations: 1.784 MB / 1.268 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.155, allocations: 0 / 1.268 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.157, allocations: 315.5 kB / 1.268 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/1.157, allocations: 76.78 kB / 1.268 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/1.158, allocations: 43.95 kB / 1.268 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/1.159, allocations: 1.677 MB / 1.27 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.16, allocations: 64 / 1.27 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005232/1.165, allocations: 1.917 MB / 1.272 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/1.166, allocations: 435 kB / 1.272 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003705/1.166, allocations: 43.83 kB / 1.272 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/1.168, allocations: 139.8 kB / 1.272 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/1.168, allocations: 117.1 kB / 1.272 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.168, allocations: 67.94 kB / 1.272 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001085/1.169, allocations: 0.6423 MB / 1.273 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.169, allocations: 0 / 1.273 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001484/1.171, allocations: 0.5142 MB / 1.273 GB, free: 1.695 MB / 0.9825 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.001573/1.172, allocations: 0.6447 MB / 1.274 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007002/1.179, allocations: 2.165 MB / 1.276 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.179, allocations: 4 kB / 1.276 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002645/1.182, allocations: 1.049 MB / 1.277 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/1.184, allocations: 367.4 kB / 1.278 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006524/1.19, allocations: 3.063 MB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.191, allocations: 1.26 MB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009071/1.192, allocations: 199.2 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.192, allocations: 0 / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of Templates: time 0.0436/1.236, allocations: 32.38 MB / 1.314 GB, free: 8.773 MB / 1.029 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