Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Obsolete.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Obsolete.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_10_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Obsolete.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_10_Buildings.Obsolete.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.00111/0.00111, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001055/0.001055, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 68.3 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2803, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.00699/0.2873, allocations: 5.217 MB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6326/0.9199, allocations: 151.1 MB / 1.171 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009741/0.9209, allocations: 16.09 kB / 1.171 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007414/0.9217, allocations: 231 kB / 1.172 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.9234, allocations: 0.611 MB / 1.172 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.9253, allocations: 0.8445 MB / 1.173 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001423/0.9267, allocations: 1.445 MB / 1.174 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008472/0.9276, allocations: 0.6139 MB / 1.175 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/0.9282, allocations: 0.4949 MB / 1.176 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.9288, allocations: 0.5306 MB / 1.176 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.929, allocations: 121.7 kB / 1.176 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008686/0.9298, allocations: 0.4992 MB / 1.177 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.9301, allocations: 305.5 kB / 1.177 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.9307, allocations: 0.594 MB / 1.178 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.9325, allocations: 1.733 MB / 1.179 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9325, allocations: 0 / 1.179 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9325, allocations: 0 / 1.179 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.9325, allocations: 0 / 1.179 GB, free: 11.05 MB / 0.8887 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.002552/0.9351, allocations: 1.506 MB / 1.181 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.9351, allocations: 13.61 kB / 1.181 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008906/0.936, allocations: 187.7 kB / 1.181 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.9372, allocations: 0.7941 MB / 1.182 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/0.9373, allocations: 64.72 kB / 1.182 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.9374, allocations: 87.11 kB / 1.182 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.939, allocations: 0.9428 MB / 1.183 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.939, allocations: 0.8438 kB / 1.183 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/0.9391, allocations: 36.59 kB / 1.183 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.9391, allocations: 21.81 kB / 1.183 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.9409, allocations: 1.131 MB / 1.184 GB, free: 7.902 MB / 0.8887 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.003871/0.9448, allocations: 2.767 MB / 1.187 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.9463, allocations: 0.8403 MB / 1.187 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.9469, allocations: 320 kB / 1.188 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.9471, allocations: 114.9 kB / 1.188 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008476/0.9479, allocations: 0.4975 MB / 1.188 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.9479, allocations: 0 / 1.188 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.003213/0.9511, allocations: 1.244 MB / 1.19 GB, free: 4 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.515e-05/0.9513, allocations: 198.5 kB / 1.19 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.952, allocations: 0.687 MB / 1.19 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/0.9521, allocations: 42.33 kB / 1.19 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.9524, allocations: 416.6 kB / 1.191 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.9526, allocations: 269.9 kB / 1.191 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.9528, allocations: 163 kB / 1.191 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.953, allocations: 399.7 kB / 1.192 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/0.9536, allocations: 287.2 kB / 1.192 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.9542, allocations: 377.4 kB / 1.192 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.9553, allocations: 0.6307 MB / 1.193 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.9553, allocations: 0 / 1.193 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0019/0.9572, allocations: 0.8829 MB / 1.194 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9573, allocations: 5.531 kB / 1.194 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.9573, allocations: 0 / 1.194 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/0.9579, allocations: 97.66 kB / 1.194 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.9586, allocations: 169.9 kB / 1.194 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.9606, allocations: 1.642 MB / 1.196 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007327/0.9614, allocations: 96.09 kB / 1.196 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/0.9614, allocations: 35.03 kB / 1.196 GB, free: 15.32 MB / 0.9044 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.0003854/0.9618, allocations: 280.3 kB / 1.196 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.962, allocations: 93.84 kB / 1.196 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.9643, allocations: 1.104 MB / 1.197 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.9644, allocations: 13.94 kB / 1.197 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.9644, allocations: 3.938 kB / 1.197 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.9644, allocations: 7.984 kB / 1.197 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.9654, allocations: 0.9415 MB / 1.198 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.9654, allocations: 1.594 kB / 1.198 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.966, allocations: 151.5 kB / 1.198 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/0.9664, allocations: 71.11 kB / 1.198 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.9665, allocations: 27.44 kB / 1.198 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.9683, allocations: 1.673 MB / 1.2 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9683, allocations: 6.156 kB / 1.2 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.9703, allocations: 0.9614 MB / 1.201 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.9707, allocations: 286.1 kB / 1.201 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.9708, allocations: 24.8 kB / 1.201 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.9715, allocations: 61.09 kB / 1.201 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.9716, allocations: 77.33 kB / 1.201 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/0.9717, allocations: 42.25 kB / 1.201 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005555/0.9723, allocations: 490.9 kB / 1.202 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9723, allocations: 0 / 1.202 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008146/0.9731, allocations: 331.6 kB / 1.202 GB, free: 10.75 MB / 0.9044 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.00133/0.9744, allocations: 0.6134 MB / 1.203 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.9761, allocations: 0.8597 MB / 1.204 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.9761, allocations: 0 / 1.204 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009149/0.977, allocations: 0.5368 MB / 1.204 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.9781, allocations: 323.7 kB / 1.204 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.9809, allocations: 1.754 MB / 1.206 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.9815, allocations: 1.047 MB / 1.207 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007472/0.9823, allocations: 262.9 kB / 1.207 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.9826, allocations: 107.4 kB / 1.208 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.9826, allocations: 3.938 kB / 1.208 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of Templates: time 0.02576/1.008, allocations: 15.81 MB / 1.223 GB, free: 7.234 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_10_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_10_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_10_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_10_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_10_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches