Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.9..T|tan.vol.1..T|TIn.T|pumCon.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.9..T|tan.vol.1..T|TIn.T|pumCon.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 113.2 kB / 16.42 MB, free: 6.465 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.001796/0.001796, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.18/2.18, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 55.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.6807, allocations: 140.4 MB / 1.089 GB, free: 5.688 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.1122/0.793, allocations: 104.5 MB / 1.191 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1962/0.9892, allocations: 182.1 MB / 1.369 GB, free: 14.73 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007499/0.9968, allocations: 163.1 kB / 1.369 GB, free: 14.57 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.007109/1.004, allocations: 2.158 MB / 1.371 GB, free: 12.4 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01677/1.021, allocations: 5.273 MB / 1.376 GB, free: 7.109 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01168/1.032, allocations: 4.532 MB / 1.38 GB, free: 2.602 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.03119/1.064, allocations: 28.45 MB / 1.408 GB, free: 6.074 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01857/1.082, allocations: 14.12 MB / 1.422 GB, free: 7.816 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01933/1.102, allocations: 10.21 MB / 1.432 GB, free: 13.62 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01338/1.115, allocations: 8.524 MB / 1.44 GB, free: 5.066 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.004682/1.12, allocations: 1.438 MB / 1.442 GB, free: 3.629 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/1.132, allocations: 4.421 MB / 1.446 GB, free: 15.2 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00572/1.137, allocations: 3.439 MB / 1.449 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.01257/1.15, allocations: 6.846 MB / 1.456 GB, free: 4.879 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02769/1.178, allocations: 20.41 MB / 1.476 GB, free: 420 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.178, allocations: 0 / 1.476 GB, free: 420 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.553e-06/1.178, allocations: 0 / 1.476 GB, free: 420 kB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0005894/1.178, allocations: 0 / 1.476 GB, free: 420 kB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2134 * Number of variables: 2134 Notification: Performance of Generate backend data structure: time 0.03326/1.212, allocations: 12.91 MB / 1.489 GB, free: 3.383 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.212, allocations: 12.03 kB / 1.489 GB, free: 3.371 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/1.226, allocations: 2.312 MB / 1.491 GB, free: 1.039 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0239/1.25, allocations: 10.21 MB / 1.501 GB, free: 6.734 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006486/1.251, allocations: 0.6255 MB / 1.501 GB, free: 6.105 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002957/1.254, allocations: 0.8357 MB / 1.502 GB, free: 5.27 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/1.283, allocations: 12.16 MB / 1.514 GB, free: 8.766 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002967/1.283, allocations: 23.72 kB / 1.514 GB, free: 8.742 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0021/1.285, allocations: 359.9 kB / 1.514 GB, free: 8.391 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000318/1.286, allocations: 343.8 kB / 1.515 GB, free: 8.055 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02537/1.311, allocations: 11.19 MB / 1.526 GB, free: 12.85 MB / 1.264 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.07755/1.389, allocations: 47.85 MB / 1.572 GB, free: 10.68 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01557/1.404, allocations: 8.085 MB / 1.58 GB, free: 2.621 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.9264/2.331, allocations: 4.221 MB / 1.584 GB, free: 429.6 MB / 1.311 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 evalFunc (simulation): time 0.03624/2.367, allocations: 18.77 MB / 1.603 GB, free: 420.3 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009717/2.377, allocations: 3.855 MB / 1.607 GB, free: 418.9 MB / 1.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003588/2.38, allocations: 499.3 kB / 1.607 GB, free: 418.9 MB / 1.311 GB Notification: Performance of pre-optimization done (n=523): time 1.907e-05/2.38, allocations: 0 / 1.607 GB, free: 418.9 MB / 1.311 GB Notification: Performance of matching and sorting (n=523): time 0.0245/2.405, allocations: 9.767 MB / 1.617 GB, free: 415.7 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.983e-05/2.405, allocations: 261.2 kB / 1.617 GB, free: 415.4 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01572/2.421, allocations: 7.953 MB / 1.625 GB, free: 412.7 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001297/2.422, allocations: 135.7 kB / 1.625 GB, free: 412.6 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.004422/2.426, allocations: 4.493 MB / 1.629 GB, free: 409.3 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002395/2.429, allocations: 1.791 MB / 1.631 GB, free: 407.9 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004118/2.433, allocations: 1.336 MB / 1.632 GB, free: 407.4 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 3.834e-05/2.433, allocations: 301.8 kB / 1.632 GB, free: 407.1 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00771/2.441, allocations: 3.554 MB / 1.636 GB, free: 405.8 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008448/2.449, allocations: 5.211 MB / 1.641 GB, free: 402.6 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01572/2.465, allocations: 8.804 MB / 1.65 GB, free: 397.8 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/2.465, allocations: 12.59 kB / 1.65 GB, free: 397.8 MB / 1.311 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.023/2.488, allocations: 9.828 MB / 1.659 GB, free: 394.1 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/2.488, allocations: 24.75 kB / 1.659 GB, free: 394.1 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.764e-05/2.488, allocations: 46.75 kB / 1.659 GB, free: 394.1 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/2.488, allocations: 82.75 kB / 1.659 GB, free: 394.1 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007649/2.496, allocations: 1.678 MB / 1.661 GB, free: 393.9 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001616/2.496, allocations: 110.6 kB / 1.661 GB, free: 393.9 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007948/2.504, allocations: 0.4984 MB / 1.662 GB, free: 393.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/2.506, allocations: 324 kB / 1.662 GB, free: 393.7 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01181/2.517, allocations: 6.41 MB / 1.668 GB, free: 390.8 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007813/2.525, allocations: 5.188 MB / 1.673 GB, free: 386.9 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01428/2.539, allocations: 8.746 MB / 1.682 GB, free: 381 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.003e-05/2.54, allocations: 15.03 kB / 1.682 GB, free: 381 MB / 1.311 GB Notification: Performance of matching and sorting (n=851) (initialization_lambda0): time 0.02113/2.561, allocations: 9.77 MB / 1.691 GB, free: 372.5 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/2.561, allocations: 28.78 kB / 1.691 GB, free: 372.5 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.956e-05/2.561, allocations: 48 kB / 1.691 GB, free: 372.4 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.832e-05/2.561, allocations: 86.89 kB / 1.691 GB, free: 372.4 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007314/2.568, allocations: 1.669 MB / 1.693 GB, free: 370.7 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000125/2.568, allocations: 115.6 kB / 1.693 GB, free: 370.6 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007953/2.576, allocations: 499.9 kB / 1.694 GB, free: 370.1 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/2.578, allocations: 315.9 kB / 1.694 GB, free: 369.8 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 23 (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,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.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 (850): * Single equations (assignments): 849 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002435/2.58, allocations: 0.5935 MB / 1.695 GB, free: 369.2 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002768/2.583, allocations: 0.791 MB / 1.695 GB, free: 368.4 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01819/2.601, allocations: 8.233 MB / 1.703 GB, free: 360.1 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01233/2.613, allocations: 6.575 MB / 1.71 GB, free: 353.4 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/2.614, allocations: 0 / 1.71 GB, free: 353.4 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004708/2.618, allocations: 1.815 MB / 1.712 GB, free: 351.5 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002389/2.621, allocations: 123.8 kB / 1.712 GB, free: 351.4 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006715/2.627, allocations: 415.5 kB / 1.712 GB, free: 351 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007651/2.628, allocations: 331.9 kB / 1.712 GB, free: 350.7 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01729/2.645, allocations: 7.773 MB / 1.72 GB, free: 342.9 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02151/2.667, allocations: 12.37 MB / 1.732 GB, free: 330.4 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005727/2.673, allocations: 3.56 MB / 1.736 GB, free: 326.8 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00893/2.682, allocations: 5.516 MB / 1.741 GB, free: 321.3 MB / 1.311 GB Notification: Performance of Backend: time 9.71e-07/2.682, allocations: 0 / 1.741 GB, free: 321.3 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0273/2.709, allocations: 11.46 MB / 1.752 GB, free: 310.3 MB / 1.311 GB Notification: Performance of SimCode: time 0.04029/2.749, allocations: 21.69 MB / 1.773 GB, free: 288.8 MB / 1.311 GB Notification: Performance of Templates: time 0.2536/3.003, allocations: 207.9 MB / 1.976 GB, free: 82.36 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches