Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_11_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_11_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.001678/0.001678, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.001857/0.001857, allocations: 197.9 kB / 16.91 MB, free: 6.176 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.478/1.478, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.696/2.696, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 75.36 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3326, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01021/0.3429, allocations: 7.333 MB / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6845/1.027, allocations: 149.5 MB / 1.217 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/1.029, allocations: 18.22 kB / 1.217 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/1.03, allocations: 236 kB / 1.218 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002593/1.032, allocations: 0.7151 MB / 1.218 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/1.035, allocations: 1.014 MB / 1.219 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002981/1.038, allocations: 2.35 MB / 1.222 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/1.04, allocations: 1.147 MB / 1.223 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/1.041, allocations: 0.9028 MB / 1.224 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/1.042, allocations: 0.9805 MB / 1.224 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002904/1.042, allocations: 268.8 kB / 1.225 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/1.043, allocations: 0.619 MB / 1.225 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004887/1.044, allocations: 0.549 MB / 1.226 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/1.045, allocations: 1.066 MB / 1.227 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/1.048, allocations: 2.409 MB / 1.229 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/1.048, allocations: 4 kB / 1.229 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.904e-06/1.048, allocations: 0 / 1.229 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.316e-05/1.048, allocations: 0 / 1.229 GB, free: 15.85 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.004866/1.053, allocations: 2.232 MB / 1.231 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.053, allocations: 8.031 kB / 1.231 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006386/1.059, allocations: 0.8647 MB / 1.232 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/1.061, allocations: 1.091 MB / 1.233 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/1.061, allocations: 127.2 kB / 1.233 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/1.062, allocations: 160 kB / 1.234 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/1.067, allocations: 2.051 MB / 1.236 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/1.067, allocations: 3.938 kB / 1.236 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/1.067, allocations: 68 kB / 1.236 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/1.067, allocations: 40 kB / 1.236 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006362/1.073, allocations: 2.44 MB / 1.238 GB, free: 6.613 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.01119/1.084, allocations: 5.691 MB / 1.244 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004618/1.089, allocations: 1.72 MB / 1.245 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/1.091, allocations: 0.801 MB / 1.246 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007919/1.092, allocations: 495 kB / 1.247 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002731/1.095, allocations: 1.076 MB / 1.248 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=139): time 3.216e-06/1.095, allocations: 0 / 1.248 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=139): time 0.008305/1.103, allocations: 2.603 MB / 1.25 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/1.103, allocations: 201.2 kB / 1.25 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/1.105, allocations: 0.882 MB / 1.251 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002018/1.105, allocations: 53.7 kB / 1.251 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006583/1.106, allocations: 0.625 MB / 1.252 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005146/1.106, allocations: 449.5 kB / 1.252 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005582/1.107, allocations: 270.6 kB / 1.253 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001868/1.107, allocations: 361.9 kB / 1.253 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/1.109, allocations: 0.6936 MB / 1.254 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/1.111, allocations: 0.828 MB / 1.254 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004223/1.115, allocations: 1.467 MB / 1.256 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.115, allocations: 0 / 1.256 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005676/1.121, allocations: 1.836 MB / 1.258 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/1.121, allocations: 4 kB / 1.258 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.121, allocations: 0 / 1.258 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/1.122, allocations: 88.83 kB / 1.258 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/1.124, allocations: 343.5 kB / 1.258 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/1.127, allocations: 1.655 MB / 1.26 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/1.129, allocations: 213.1 kB / 1.26 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/1.129, allocations: 67.88 kB / 1.26 GB, free: 15.64 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.0009442/1.13, allocations: 392.3 kB / 1.26 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/1.13, allocations: 126.4 kB / 1.26 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006563/1.137, allocations: 2.218 MB / 1.263 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/1.137, allocations: 12 kB / 1.263 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.137, allocations: 6.719 kB / 1.263 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/1.137, allocations: 11.91 kB / 1.263 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/1.14, allocations: 1.773 MB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.14, allocations: 7.938 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/1.141, allocations: 311.6 kB / 1.265 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/1.142, allocations: 76.78 kB / 1.265 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/1.142, allocations: 43.95 kB / 1.265 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/1.144, allocations: 1.682 MB / 1.266 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.144, allocations: 4 kB / 1.266 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005777/1.15, allocations: 1.913 MB / 1.268 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009781/1.151, allocations: 431 kB / 1.269 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/1.152, allocations: 47.84 kB / 1.269 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.153, allocations: 151.8 kB / 1.269 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/1.153, allocations: 109.2 kB / 1.269 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.154, allocations: 63.94 kB / 1.269 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001012/1.155, allocations: 0.6461 MB / 1.27 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/1.155, allocations: 0 / 1.27 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001453/1.156, allocations: 0.518 MB / 1.27 GB, free: 4.855 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.002126/1.158, allocations: 0.6404 MB / 1.271 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007707/1.166, allocations: 2.157 MB / 1.273 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.166, allocations: 4 kB / 1.273 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002757/1.169, allocations: 1.049 MB / 1.274 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.171, allocations: 375.9 kB / 1.274 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007548/1.178, allocations: 3.779 MB / 1.278 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.18, allocations: 1.258 MB / 1.279 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.181, allocations: 199.2 kB / 1.279 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of SimCode: time 1.203e-06/1.181, allocations: 0 / 1.279 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of Templates: time 0.05136/1.232, allocations: 32.39 MB / 1.311 GB, free: 11.2 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches