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.001122/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00129/0.00129, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.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.455/2.455, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 67.91 kB / 0.8118 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8677/0.869, allocations: 140.4 MB / 0.9489 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005791/0.8749, allocations: 4.676 MB / 0.9535 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1682/1.043, allocations: 148.7 MB / 1.099 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009773/1.044, allocations: 15.94 kB / 1.099 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007348/1.045, allocations: 170.8 kB / 1.099 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/1.047, allocations: 494.6 kB / 1.099 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/1.049, allocations: 0.7406 MB / 1.1 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001229/1.05, allocations: 1.265 MB / 1.101 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007898/1.051, allocations: 0.6157 MB / 1.102 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/1.051, allocations: 438.1 kB / 1.102 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/1.052, allocations: 485.6 kB / 1.103 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/1.052, allocations: 56 kB / 1.103 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000832/1.053, allocations: 427.6 kB / 1.103 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/1.053, allocations: 246.9 kB / 1.103 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004351/1.053, allocations: 0.5126 MB / 1.104 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/1.055, allocations: 1.604 MB / 1.106 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.055, allocations: 4 kB / 1.106 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.21e-07/1.055, allocations: 4 kB / 1.106 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.249e-05/1.055, allocations: 0 / 1.106 GB, free: 1.133 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.002552/1.057, allocations: 1.492 MB / 1.107 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/1.057, allocations: 8.031 kB / 1.107 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000927/1.058, allocations: 195.3 kB / 1.107 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/1.059, allocations: 0.7701 MB / 1.108 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/1.059, allocations: 62 kB / 1.108 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/1.06, allocations: 80 kB / 1.108 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/1.061, allocations: 0.9496 MB / 1.109 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/1.061, allocations: 3.938 kB / 1.109 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-05/1.061, allocations: 36 kB / 1.109 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/1.061, allocations: 20 kB / 1.109 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/1.063, allocations: 1.139 MB / 1.11 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003856/1.067, allocations: 2.589 MB / 1.113 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/1.068, allocations: 0.8344 MB / 1.114 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/1.069, allocations: 314.7 kB / 1.114 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/1.069, allocations: 109.7 kB / 1.114 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009194/1.07, allocations: 0.5147 MB / 1.114 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.074e-06/1.07, allocations: 0 / 1.114 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003275/1.073, allocations: 1.248 MB / 1.116 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.074, allocations: 192.6 kB / 1.116 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/1.074, allocations: 0.6842 MB / 1.117 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/1.074, allocations: 41.7 kB / 1.117 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/1.075, allocations: 420.4 kB / 1.117 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/1.075, allocations: 272.2 kB / 1.117 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/1.075, allocations: 170.4 kB / 1.117 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.075, allocations: 390.7 kB / 1.118 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005644/1.076, allocations: 277.9 kB / 1.118 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/1.077, allocations: 375.1 kB / 1.118 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.078, allocations: 0.6385 MB / 1.119 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.078, allocations: 0 / 1.119 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001996/1.08, allocations: 0.8876 MB / 1.12 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/1.08, allocations: 16.03 kB / 1.12 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.08, allocations: 0 / 1.12 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/1.08, allocations: 80.77 kB / 1.12 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/1.081, allocations: 163.8 kB / 1.12 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/1.083, allocations: 1.528 MB / 1.122 GB, free: 156 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007951/1.084, allocations: 101 kB / 1.122 GB, free: 56 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/1.084, allocations: 39.97 kB / 1.122 GB, free: 16 kB / 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.0005902/1.085, allocations: 271.4 kB / 1.122 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/1.085, allocations: 90.95 kB / 1.122 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/1.087, allocations: 1.105 MB / 1.123 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.087, allocations: 8 kB / 1.123 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/1.087, allocations: 4 kB / 1.123 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.087, allocations: 7.922 kB / 1.123 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/1.089, allocations: 0.9464 MB / 1.124 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.089, allocations: 0 / 1.124 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/1.089, allocations: 147.8 kB / 1.124 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/1.09, allocations: 84.77 kB / 1.124 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/1.09, allocations: 23.98 kB / 1.124 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/1.092, allocations: 1.567 MB / 1.126 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.092, allocations: 0 / 1.126 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/1.094, allocations: 0.9668 MB / 1.127 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/1.094, allocations: 287.6 kB / 1.127 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/1.094, allocations: 16 kB / 1.127 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/1.095, allocations: 67.92 kB / 1.127 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.095, allocations: 76.89 kB / 1.127 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/1.095, allocations: 31.98 kB / 1.127 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006086/1.096, allocations: 495 kB / 1.128 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/1.096, allocations: 0 / 1.128 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008128/1.097, allocations: 327.1 kB / 1.128 GB, free: 9.281 MB / 0.8887 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.001303/1.098, allocations: 0.6011 MB / 1.129 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001663/1.1, allocations: 0.8546 MB / 1.129 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.1, allocations: 0 / 1.129 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009559/1.101, allocations: 0.5355 MB / 1.13 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.102, allocations: 296.6 kB / 1.13 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/1.106, allocations: 2.315 MB / 1.133 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006776/1.107, allocations: 1.039 MB / 1.134 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008278/1.107, allocations: 262.8 kB / 1.134 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/1.108, allocations: 99.38 kB / 1.134 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of SimCode: time 5.72e-07/1.108, allocations: 4 kB / 1.134 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of Templates: time 0.02314/1.131, allocations: 14.72 MB / 1.148 GB, free: 4.828 MB / 0.9044 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/jenkins/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