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.001209/0.00121, allocations: 101.6 kB / 16.35 MB, free: 5.875 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.00117/0.00117, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.489/2.489, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 64.28 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3472, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009259/0.3565, allocations: 7.386 MB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8468/1.203, allocations: 151.7 MB / 1.182 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/1.205, allocations: 23.34 kB / 1.182 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009833/1.206, allocations: 307.8 kB / 1.182 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002658/1.208, allocations: 0.8019 MB / 1.183 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/1.211, allocations: 1.132 MB / 1.184 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003313/1.215, allocations: 2.358 MB / 1.187 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/1.216, allocations: 1.156 MB / 1.188 GB, free: 244 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/1.218, allocations: 0.8983 MB / 1.189 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/1.219, allocations: 0.9853 MB / 1.19 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003178/1.219, allocations: 262.6 kB / 1.19 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/1.221, allocations: 0.6405 MB / 1.19 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000489/1.221, allocations: 0.5504 MB / 1.191 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/1.222, allocations: 1.059 MB / 1.192 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/1.226, allocations: 3.112 MB / 1.195 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.226, allocations: 0 / 1.195 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.283e-06/1.226, allocations: 0 / 1.195 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.766e-05/1.226, allocations: 0 / 1.195 GB, free: 11.16 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.00455/1.231, allocations: 2.242 MB / 1.197 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.231, allocations: 7.531 kB / 1.197 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/1.237, allocations: 0.8635 MB / 1.198 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/1.239, allocations: 1.106 MB / 1.199 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.793e-05/1.239, allocations: 123.8 kB / 1.199 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/1.239, allocations: 161.1 kB / 1.199 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004277/1.243, allocations: 2.054 MB / 1.201 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/1.244, allocations: 0 / 1.201 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/1.244, allocations: 71.14 kB / 1.202 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/1.244, allocations: 43.97 kB / 1.202 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005784/1.25, allocations: 2.442 MB / 1.204 GB, free: 5.59 MB / 0.9044 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.01024/1.26, allocations: 5.638 MB / 1.209 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004121/1.264, allocations: 1.708 MB / 1.211 GB, free: 224 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/1.266, allocations: 0.8025 MB / 1.212 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/1.267, allocations: 498.5 kB / 1.212 GB, free: 14.83 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002371/1.269, allocations: 1.075 MB / 1.213 GB, free: 13.73 MB / 0.92 GB Notification: Performance of pre-optimization done (n=139): time 2.896e-06/1.269, allocations: 3.938 kB / 1.213 GB, free: 13.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=139): time 0.007472/1.276, allocations: 2.591 MB / 1.216 GB, free: 11.11 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/1.277, allocations: 201.2 kB / 1.216 GB, free: 10.88 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/1.278, allocations: 0.882 MB / 1.217 GB, free: 9.969 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001975/1.278, allocations: 53.7 kB / 1.217 GB, free: 9.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000591/1.279, allocations: 0.6289 MB / 1.218 GB, free: 9.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004366/1.279, allocations: 457.4 kB / 1.218 GB, free: 8.816 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005017/1.28, allocations: 266.8 kB / 1.218 GB, free: 8.547 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.28, allocations: 357.9 kB / 1.219 GB, free: 8.191 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/1.282, allocations: 0.6897 MB / 1.219 GB, free: 7.504 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/1.284, allocations: 0.8242 MB / 1.22 GB, free: 6.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003767/1.288, allocations: 1.463 MB / 1.222 GB, free: 5.184 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.288, allocations: 0 / 1.222 GB, free: 5.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005196/1.293, allocations: 1.836 MB / 1.223 GB, free: 3.336 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/1.293, allocations: 12.05 kB / 1.223 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.293, allocations: 0 / 1.223 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/1.294, allocations: 84.78 kB / 1.224 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/1.295, allocations: 347.5 kB / 1.224 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/1.298, allocations: 1.651 MB / 1.225 GB, free: 1.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/1.3, allocations: 205.2 kB / 1.226 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/1.3, allocations: 59.94 kB / 1.226 GB, free: 0.8438 MB / 0.92 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.001093/1.301, allocations: 408.3 kB / 1.226 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/1.302, allocations: 122.5 kB / 1.226 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006069/1.308, allocations: 2.206 MB / 1.228 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/1.308, allocations: 16 kB / 1.228 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.308, allocations: 0 / 1.228 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/1.308, allocations: 11.91 kB / 1.228 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/1.31, allocations: 1.776 MB / 1.23 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.31, allocations: 0 / 1.23 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.312, allocations: 319.6 kB / 1.23 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/1.313, allocations: 72.8 kB / 1.231 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/1.313, allocations: 47.94 kB / 1.231 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/1.315, allocations: 1.678 MB / 1.232 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.315, allocations: 0 / 1.232 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005148/1.32, allocations: 1.921 MB / 1.234 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008693/1.321, allocations: 431 kB / 1.234 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/1.321, allocations: 39.84 kB / 1.235 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.323, allocations: 139.8 kB / 1.235 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/1.323, allocations: 121.1 kB / 1.235 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/1.323, allocations: 59.95 kB / 1.235 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009336/1.324, allocations: 0.6423 MB / 1.235 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.91e-07/1.324, allocations: 0 / 1.235 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00144/1.326, allocations: 0.5064 MB / 1.236 GB, free: 6.078 MB / 0.9356 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.001578/1.327, allocations: 0.6525 MB / 1.237 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004768/1.332, allocations: 1.825 MB / 1.238 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.332, allocations: 0 / 1.238 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002469/1.334, allocations: 1.052 MB / 1.239 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/1.336, allocations: 378 kB / 1.24 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006057/1.342, allocations: 2.957 MB / 1.243 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/1.343, allocations: 1.264 MB / 1.244 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001732/1.345, allocations: 390.3 kB / 1.244 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005792/1.345, allocations: 167.3 kB / 1.244 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of SimCode: time 1.423e-06/1.345, allocations: 4 kB / 1.244 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.04339/1.389, allocations: 24.33 MB / 1.268 GB, free: 5.383 MB / 0.9669 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 -s cvode -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