Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.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_9_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.001228/0.001228, allocations: 102.2 kB / 16.27 MB, free: 6 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.001292/0.001292, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 67.2 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3384, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008051/0.3465, allocations: 4.673 MB / 0.9548 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7365/1.083, allocations: 151 MB / 1.102 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/1.084, allocations: 16.81 kB / 1.102 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007682/1.085, allocations: 213.7 kB / 1.103 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/1.087, allocations: 0.5604 MB / 1.103 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/1.089, allocations: 0.8448 MB / 1.104 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001893/1.091, allocations: 1.347 MB / 1.105 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009498/1.092, allocations: 0.6478 MB / 1.106 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/1.093, allocations: 497.5 kB / 1.106 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/1.093, allocations: 0.5154 MB / 1.107 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002048/1.093, allocations: 120.2 kB / 1.107 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/1.095, allocations: 486.3 kB / 1.107 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002993/1.095, allocations: 303.7 kB / 1.108 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006068/1.096, allocations: 0.5768 MB / 1.108 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002352/1.098, allocations: 1.656 MB / 1.11 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.098, allocations: 0.5625 kB / 1.11 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/1.098, allocations: 0.8438 kB / 1.11 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.652e-05/1.098, allocations: 0 / 1.11 GB, free: 3.973 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00316/1.101, allocations: 1.497 MB / 1.111 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.101, allocations: 9.938 kB / 1.111 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/1.102, allocations: 193.9 kB / 1.112 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/1.103, allocations: 0.7758 MB / 1.112 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/1.103, allocations: 64.98 kB / 1.112 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/1.104, allocations: 82.53 kB / 1.112 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/1.105, allocations: 0.9396 MB / 1.113 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/1.105, allocations: 2.328 kB / 1.113 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/1.105, allocations: 37.55 kB / 1.113 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/1.105, allocations: 20.91 kB / 1.113 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/1.107, allocations: 1.139 MB / 1.115 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004104/1.111, allocations: 2.586 MB / 1.117 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/1.113, allocations: 0.8261 MB / 1.118 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/1.113, allocations: 324.2 kB / 1.118 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/1.114, allocations: 116 kB / 1.118 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009176/1.114, allocations: 0.5006 MB / 1.119 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/1.114, allocations: 9.281 kB / 1.119 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003445/1.118, allocations: 1.245 MB / 1.12 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.731e-05/1.118, allocations: 190 kB / 1.12 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/1.119, allocations: 0.6783 MB / 1.121 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/1.119, allocations: 40.42 kB / 1.121 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/1.12, allocations: 427.8 kB / 1.121 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/1.12, allocations: 262.9 kB / 1.122 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/1.12, allocations: 169.8 kB / 1.122 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002161/1.12, allocations: 396.6 kB / 1.122 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000747/1.121, allocations: 281.7 kB / 1.122 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000771/1.122, allocations: 377.6 kB / 1.123 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/1.123, allocations: 0.6352 MB / 1.123 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/1.123, allocations: 1.812 kB / 1.123 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002318/1.126, allocations: 0.8843 MB / 1.124 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.126, allocations: 7.656 kB / 1.124 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.126, allocations: 1.438 kB / 1.124 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/1.126, allocations: 89.38 kB / 1.124 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/1.127, allocations: 169.4 kB / 1.124 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/1.129, allocations: 1.645 MB / 1.126 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/1.13, allocations: 96.7 kB / 1.126 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/1.13, allocations: 36.5 kB / 1.126 GB, free: 14.55 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0005951/1.131, allocations: 286.1 kB / 1.126 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/1.131, allocations: 88.72 kB / 1.127 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/1.134, allocations: 1.101 MB / 1.128 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/1.134, allocations: 17.7 kB / 1.128 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.134, allocations: 0 / 1.128 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/1.134, allocations: 6.844 kB / 1.128 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/1.135, allocations: 0.9484 MB / 1.129 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.135, allocations: 1.125 kB / 1.129 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/1.136, allocations: 146 kB / 1.129 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/1.136, allocations: 79.78 kB / 1.129 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/1.136, allocations: 24.05 kB / 1.129 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/1.138, allocations: 1.673 MB / 1.13 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.138, allocations: 1.594 kB / 1.13 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/1.14, allocations: 0.9693 MB / 1.131 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/1.141, allocations: 282.4 kB / 1.132 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/1.141, allocations: 20.45 kB / 1.132 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008431/1.142, allocations: 60.8 kB / 1.132 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.142, allocations: 83.45 kB / 1.132 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/1.142, allocations: 36.38 kB / 1.132 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006781/1.143, allocations: 492.4 kB / 1.132 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/1.143, allocations: 0 / 1.132 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001114/1.144, allocations: 324.5 kB / 1.133 GB, free: 12.12 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00143/1.145, allocations: 0.6069 MB / 1.133 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002838/1.148, allocations: 1.067 MB / 1.134 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.148, allocations: 1.031 kB / 1.134 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.149, allocations: 0.5397 MB / 1.135 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.151, allocations: 306.9 kB / 1.135 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/1.155, allocations: 1.931 MB / 1.137 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/1.156, allocations: 1.042 MB / 1.138 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/1.157, allocations: 118.7 kB / 1.138 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of SimCode: time 1.884e-06/1.157, allocations: 0 / 1.138 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of Templates: time 0.03077/1.187, allocations: 19.42 MB / 1.157 GB, free: 3.109 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches