Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001025/0.001025, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 175 kB / 16.92 MB, free: 6.652 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.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.587/2.587, allocations: 437.8 MB / 0.7128 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004315, allocations: 12 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6688/0.6693, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007977/0.6773, allocations: 6.888 MB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.8447, allocations: 147.8 MB / 1.175 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.8466, allocations: 23.88 kB / 1.175 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.8479, allocations: 238.2 kB / 1.175 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.8516, allocations: 0.7041 MB / 1.176 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.8548, allocations: 1.005 MB / 1.177 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003594/0.8584, allocations: 2.166 MB / 1.179 GB, free: 456 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.8606, allocations: 1.083 MB / 1.18 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.8621, allocations: 0.5909 MB / 1.18 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.8636, allocations: 0.6916 MB / 1.181 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004172/0.864, allocations: 44 kB / 1.181 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.8655, allocations: 407.6 kB / 1.182 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005268/0.8661, allocations: 298.5 kB / 1.182 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.8675, allocations: 0.8094 MB / 1.183 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.8704, allocations: 2.31 MB / 1.185 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8704, allocations: 8 kB / 1.185 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8704, allocations: 0 / 1.185 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.823e-05/0.8705, allocations: 0 / 1.185 GB, free: 10.15 MB / 0.9356 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.004424/0.875, allocations: 1.857 MB / 1.187 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.875, allocations: 8.031 kB / 1.187 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006203/0.8812, allocations: 0.9312 MB / 1.188 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.8836, allocations: 1.083 MB / 1.189 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.8837, allocations: 127.3 kB / 1.189 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.884, allocations: 159.9 kB / 1.189 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005103/0.8891, allocations: 2.086 MB / 1.191 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.8892, allocations: 3.984 kB / 1.191 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.8894, allocations: 68 kB / 1.191 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.8894, allocations: 40 kB / 1.191 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006316/0.8958, allocations: 2.503 MB / 1.194 GB, free: 1.133 MB / 0.9356 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.01159/0.9074, allocations: 5.741 MB / 1.199 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005037/0.9125, allocations: 1.725 MB / 1.201 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/0.9148, allocations: 0.8051 MB / 1.202 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007802/0.9156, allocations: 495.1 kB / 1.202 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002863/0.9185, allocations: 1.079 MB / 1.203 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=139): time 6.091e-06/0.9185, allocations: 0 / 1.203 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.008915/0.9274, allocations: 2.63 MB / 1.206 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.9276, allocations: 197.2 kB / 1.206 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.9293, allocations: 0.886 MB / 1.207 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.9296, allocations: 53.7 kB / 1.207 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000672/0.9303, allocations: 0.629 MB / 1.207 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005655/0.9309, allocations: 453.4 kB / 1.208 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.9311, allocations: 105.6 kB / 1.208 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.9313, allocations: 361.8 kB / 1.208 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/0.9335, allocations: 0.7053 MB / 1.209 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.9359, allocations: 0.8281 MB / 1.21 GB, free: 32 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004424/0.9403, allocations: 1.482 MB / 1.211 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.9404, allocations: 0 / 1.211 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005975/0.9463, allocations: 1.851 MB / 1.213 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.9464, allocations: 8 kB / 1.213 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.9464, allocations: 0 / 1.213 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006455/0.9471, allocations: 96.75 kB / 1.213 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.9491, allocations: 347.5 kB / 1.213 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.9515, allocations: 1.559 MB / 1.215 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.9536, allocations: 229 kB / 1.215 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/0.954, allocations: 63.94 kB / 1.215 GB, free: 10.24 MB / 0.9669 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.001352/0.9553, allocations: 397.6 kB / 1.216 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/0.9558, allocations: 126.4 kB / 1.216 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007009/0.9628, allocations: 2.233 MB / 1.218 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.9629, allocations: 16 kB / 1.218 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9629, allocations: 4 kB / 1.218 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.9629, allocations: 7.969 kB / 1.218 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/0.9658, allocations: 1.784 MB / 1.22 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/0.9658, allocations: 0 / 1.22 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/0.9677, allocations: 315.6 kB / 1.22 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000607/0.9683, allocations: 92.77 kB / 1.22 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/0.9685, allocations: 43.95 kB / 1.22 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.9705, allocations: 1.563 MB / 1.222 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9705, allocations: 0 / 1.222 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005755/0.9763, allocations: 1.941 MB / 1.224 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.9774, allocations: 458.7 kB / 1.224 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003982/0.9778, allocations: 35.98 kB / 1.224 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/0.9797, allocations: 167.8 kB / 1.224 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002875/0.98, allocations: 113.1 kB / 1.224 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/0.9802, allocations: 63.94 kB / 1.224 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001294/0.9815, allocations: 0.6384 MB / 1.225 GB, free: 12 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9815, allocations: 0 / 1.225 GB, free: 12 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001899/0.9834, allocations: 0.5258 MB / 1.225 GB, free: 15.48 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.001799/0.9852, allocations: 0.6297 MB / 1.226 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005539/0.9907, allocations: 1.845 MB / 1.228 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.9908, allocations: 0 / 1.228 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003092/0.9939, allocations: 1.06 MB / 1.229 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.9962, allocations: 352.6 kB / 1.229 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00824/1.005, allocations: 3.817 MB / 1.233 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/1.006, allocations: 1.254 MB / 1.234 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.007, allocations: 195.3 kB / 1.234 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of SimCode: time 1.633e-06/1.007, allocations: 0 / 1.234 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.6046/1.612, allocations: 32.17 MB / 1.266 GB, free: 225.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches