Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 109 kB / 16.42 MB, free: 6.457 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.001722/0.001722, allocations: 189.4 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.911/1.911, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.439/4.439, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 63.91 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542/1.545, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.1626/1.708, allocations: 57.37 MB / 1.264 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.3879/2.096, allocations: 159.7 MB / 1.42 GB, free: 3.777 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004751/2.1, allocations: 59.69 kB / 1.42 GB, free: 3.719 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.007993/2.109, allocations: 0.7208 MB / 1.421 GB, free: 2.992 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01942/2.128, allocations: 3.165 MB / 1.424 GB, free: 15.82 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01143/2.139, allocations: 2.54 MB / 1.427 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.03184/2.171, allocations: 13.77 MB / 1.44 GB, free: 15.49 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01704/2.188, allocations: 6.792 MB / 1.447 GB, free: 8.594 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02476/2.213, allocations: 7.702 MB / 1.454 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/2.229, allocations: 4.054 MB / 1.458 GB, free: 12.82 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.003502/2.232, allocations: 0.6992 MB / 1.459 GB, free: 12.12 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02102/2.254, allocations: 4.278 MB / 1.463 GB, free: 7.84 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.009312/2.263, allocations: 1.671 MB / 1.465 GB, free: 6.164 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.01077/2.274, allocations: 3.341 MB / 1.468 GB, free: 2.809 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.03432/2.308, allocations: 10.26 MB / 1.478 GB, free: 8.52 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/2.308, allocations: 0 / 1.478 GB, free: 8.52 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.314e-06/2.308, allocations: 0 / 1.478 GB, free: 8.52 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0003762/2.309, allocations: 0 / 1.478 GB, free: 8.52 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1078 * Number of variables: 1078 Notification: Performance of Generate backend data structure: time 0.03503/2.344, allocations: 6.527 MB / 1.484 GB, free: 1.902 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 7.739e-05/2.344, allocations: 16.02 kB / 1.484 GB, free: 1.887 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02796/2.372, allocations: 1.765 MB / 1.486 GB, free: 116 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0246/2.396, allocations: 5.148 MB / 1.491 GB, free: 10.89 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005346/2.397, allocations: 316.2 kB / 1.491 GB, free: 10.58 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/2.399, allocations: 412 kB / 1.492 GB, free: 10.18 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03533/2.435, allocations: 6.077 MB / 1.498 GB, free: 3.898 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001646/2.435, allocations: 7.938 kB / 1.498 GB, free: 3.891 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002062/2.437, allocations: 175.9 kB / 1.498 GB, free: 3.719 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002637/2.437, allocations: 172 kB / 1.498 GB, free: 3.547 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03013/2.467, allocations: 5.8 MB / 1.504 GB, free: 13.73 MB / 1.232 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.06352/2.531, allocations: 21.98 MB / 1.525 GB, free: 6.844 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/2.551, allocations: 4.01 MB / 1.529 GB, free: 2.836 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01176/2.563, allocations: 1.987 MB / 1.531 GB, free: 0.8438 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004479/2.568, allocations: 2.549 MB / 1.534 GB, free: 13.76 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009944/2.578, allocations: 2.289 MB / 1.536 GB, free: 11.42 MB / 1.264 GB Notification: Performance of pre-optimization done (n=300): time 1.128e-05/2.578, allocations: 0 / 1.536 GB, free: 11.42 MB / 1.264 GB Notification: Performance of matching and sorting (n=300): time 0.0433/2.621, allocations: 7.122 MB / 1.543 GB, free: 4.035 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/2.621, allocations: 240 kB / 1.543 GB, free: 3.75 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01585/2.637, allocations: 3.864 MB / 1.547 GB, free: 15.86 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0009355/2.638, allocations: 85.7 kB / 1.547 GB, free: 15.77 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003752/2.642, allocations: 2.078 MB / 1.549 GB, free: 13.67 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002576/2.645, allocations: 1.001 MB / 1.55 GB, free: 12.66 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002259/2.647, allocations: 0.6551 MB / 1.551 GB, free: 11.99 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001244/2.647, allocations: 313.1 kB / 1.551 GB, free: 11.68 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007399/2.654, allocations: 1.726 MB / 1.553 GB, free: 9.949 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009164/2.664, allocations: 2.351 MB / 1.555 GB, free: 7.375 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/2.68, allocations: 4.116 MB / 1.559 GB, free: 3.023 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.78e-05/2.68, allocations: 7.984 kB / 1.559 GB, free: 3.016 MB / 1.279 GB Notification: Performance of matching and sorting (n=410) (initialization): time 1.211/3.892, allocations: 4.737 MB / 1.563 GB, free: 337.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-05/3.892, allocations: 13.08 kB / 1.564 GB, free: 337.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.008e-05/3.892, allocations: 19.03 kB / 1.564 GB, free: 337.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/3.893, allocations: 110 kB / 1.564 GB, free: 337.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01224/3.905, allocations: 0.8362 MB / 1.564 GB, free: 337.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/3.909, allocations: 2.267 MB / 1.567 GB, free: 335.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/3.921, allocations: 482.4 kB / 1.567 GB, free: 335.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/3.922, allocations: 166.2 kB / 1.567 GB, free: 335.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01607/3.939, allocations: 3.072 MB / 1.57 GB, free: 335.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008535/3.947, allocations: 2.346 MB / 1.573 GB, free: 334.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01914/3.966, allocations: 4.121 MB / 1.577 GB, free: 332.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.235e-05/3.966, allocations: 7.906 kB / 1.577 GB, free: 332.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=410) (initialization_lambda0): time 0.02953/3.996, allocations: 4.745 MB / 1.581 GB, free: 330.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/3.996, allocations: 11.75 kB / 1.581 GB, free: 330.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.999e-05/3.996, allocations: 16.61 kB / 1.581 GB, free: 330.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008739/3.997, allocations: 109.5 kB / 1.581 GB, free: 330.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006805/4.004, allocations: 0.8151 MB / 1.582 GB, free: 330.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/4.007, allocations: 1.692 MB / 1.584 GB, free: 328.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01231/4.019, allocations: 413.5 kB / 1.584 GB, free: 328.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/4.02, allocations: 162 kB / 1.584 GB, free: 328.8 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (408): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001628/4.022, allocations: 392.3 kB / 1.585 GB, free: 328.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002265/4.024, allocations: 406.9 kB / 1.585 GB, free: 328.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02628/4.051, allocations: 5.329 MB / 1.59 GB, free: 326.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01691/4.068, allocations: 4.287 MB / 1.595 GB, free: 324.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-05/4.068, allocations: 0 / 1.595 GB, free: 324.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004721/4.072, allocations: 1.074 MB / 1.596 GB, free: 324.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002063/4.075, allocations: 70.48 kB / 1.596 GB, free: 324.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00701/4.082, allocations: 235 kB / 1.596 GB, free: 324 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/4.083, allocations: 239.9 kB / 1.596 GB, free: 324 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02098/4.104, allocations: 4.903 MB / 1.601 GB, free: 320.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03088/4.135, allocations: 6.663 MB / 1.607 GB, free: 313.4 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006286/4.141, allocations: 1.987 MB / 1.609 GB, free: 311.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01132/4.152, allocations: 2.722 MB / 1.612 GB, free: 308.7 MB / 1.279 GB Notification: Performance of Backend: time 2.074e-06/4.152, allocations: 0 / 1.612 GB, free: 308.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03211/4.185, allocations: 6.405 MB / 1.618 GB, free: 302.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.03393/4.219, allocations: 11.01 MB / 1.629 GB, free: 291.7 MB / 1.279 GB Notification: Performance of Templates: time 0.2828/4.501, allocations: 117 MB / 1.743 GB, free: 175.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_FlatPlate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches