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.006273/0.006273, allocations: 95.36 kB / 15.73 MB, free: 6.039 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.001249/0.001249, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.365/2.365, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 61.98 kB / 0.9508 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2818, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006668/0.2885, allocations: 4.67 MB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.4736, allocations: 151 MB / 1.24 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.4748, allocations: 19.88 kB / 1.24 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007955/0.4757, allocations: 210.2 kB / 1.24 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.478, allocations: 0.5861 MB / 1.241 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.4801, allocations: 0.8457 MB / 1.242 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001348/0.4814, allocations: 1.367 MB / 1.243 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000857/0.4823, allocations: 0.6417 MB / 1.244 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005746/0.4829, allocations: 498.2 kB / 1.244 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.4834, allocations: 0.5133 MB / 1.244 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.4836, allocations: 127.9 kB / 1.245 GB, free: 376 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009051/0.4845, allocations: 0.4918 MB / 1.245 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.4848, allocations: 307 kB / 1.245 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004802/0.4853, allocations: 0.579 MB / 1.246 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.4871, allocations: 1.708 MB / 1.248 GB, free: 13.28 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4871, allocations: 0 / 1.248 GB, free: 13.28 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4872, allocations: 0 / 1.248 GB, free: 13.28 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.4872, allocations: 0 / 1.248 GB, free: 13.28 MB / 1.014 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.002563/0.4897, allocations: 1.533 MB / 1.249 GB, free: 11.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4898, allocations: 12.03 kB / 1.249 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009306/0.4907, allocations: 200 kB / 1.249 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.492, allocations: 0.8019 MB / 1.25 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.492, allocations: 62 kB / 1.25 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.4922, allocations: 84 kB / 1.25 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.4937, allocations: 0.9379 MB / 1.251 GB, free: 9.516 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.4938, allocations: 4 kB / 1.251 GB, free: 9.512 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/0.4939, allocations: 36 kB / 1.251 GB, free: 9.477 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.4939, allocations: 24 kB / 1.251 GB, free: 9.453 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.4957, allocations: 1.132 MB / 1.252 GB, free: 8.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.4995, allocations: 2.571 MB / 1.255 GB, free: 5.684 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.501, allocations: 0.8328 MB / 1.256 GB, free: 4.848 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/0.5016, allocations: 314.7 kB / 1.256 GB, free: 4.539 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.5018, allocations: 117.7 kB / 1.256 GB, free: 4.406 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008807/0.5027, allocations: 0.511 MB / 1.257 GB, free: 3.875 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.335e-06/0.5027, allocations: 0 / 1.257 GB, free: 3.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003257/0.5059, allocations: 1.253 MB / 1.258 GB, free: 2.594 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.5061, allocations: 188.6 kB / 1.258 GB, free: 2.367 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008022/0.5069, allocations: 0.692 MB / 1.259 GB, free: 1.672 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.5069, allocations: 41.7 kB / 1.259 GB, free: 1.625 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.5073, allocations: 429.1 kB / 1.259 GB, free: 1.199 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.5075, allocations: 277.6 kB / 1.259 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.5078, allocations: 170.5 kB / 1.26 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.5079, allocations: 394.7 kB / 1.26 GB, free: 368 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.5085, allocations: 281.8 kB / 1.26 GB, free: 88 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6339/1.142, allocations: 373 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/1.144, allocations: 0.6328 MB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/1.144, allocations: 2.594 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002177/1.146, allocations: 0.8836 MB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.146, allocations: 10.03 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.146, allocations: 2.562 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/1.146, allocations: 84.19 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/1.147, allocations: 163.8 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/1.149, allocations: 1.642 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/1.15, allocations: 98.5 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/1.15, allocations: 37.61 kB / 1.264 GB, free: 171.9 MB / 1.014 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.0004291/1.15, allocations: 282.9 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/1.15, allocations: 92.14 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/1.153, allocations: 1.103 MB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.153, allocations: 9.531 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.153, allocations: 4.688 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/1.153, allocations: 8.891 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/1.154, allocations: 0.9482 MB / 1.266 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/1.154, allocations: 0.8125 kB / 1.266 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/1.155, allocations: 150.4 kB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000436/1.155, allocations: 72.86 kB / 1.267 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.556e-05/1.155, allocations: 25.86 kB / 1.267 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/1.157, allocations: 1.675 MB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.157, allocations: 1.344 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/1.159, allocations: 0.9744 MB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/1.159, allocations: 283.6 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.159, allocations: 25.16 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/1.16, allocations: 64.89 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.16, allocations: 74.19 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.572e-05/1.16, allocations: 39.89 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007661/1.161, allocations: 493.3 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.81e-07/1.161, allocations: 3.969 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001086/1.162, allocations: 321 kB / 1.27 GB, free: 168.5 MB / 1.014 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.001372/1.164, allocations: 0.6082 MB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001961/1.165, allocations: 0.863 MB / 1.272 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.166, allocations: 1.094 kB / 1.272 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/1.167, allocations: 0.5438 MB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/1.169, allocations: 310.2 kB / 1.273 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/1.173, allocations: 1.896 MB / 1.275 GB, free: 166.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/1.174, allocations: 1.044 MB / 1.276 GB, free: 165.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008512/1.175, allocations: 265 kB / 1.276 GB, free: 165.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/1.175, allocations: 112.5 kB / 1.276 GB, free: 165.8 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/1.175, allocations: 1.156 kB / 1.276 GB, free: 165.8 MB / 1.014 GB Notification: Performance of Templates: time 0.0275/1.203, allocations: 15.56 MB / 1.291 GB, free: 162.3 MB / 1.014 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