Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 121.9 kB / 16.82 MB, free: 5.754 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.002116/0.002116, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.399/1.399, allocations: 225.6 MB / 244.2 MB, free: 13.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 476.7 MB / 0.7556 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 68.64 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3313, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.07009/0.4014, allocations: 65.6 MB / 1.326 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2181/0.6195, allocations: 169.4 MB / 1.492 GB, free: 1.129 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004522/0.624, allocations: 91.5 kB / 1.492 GB, free: 1.039 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004113/0.6281, allocations: 1.248 MB / 1.493 GB, free: 15.78 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.6387, allocations: 3.313 MB / 1.496 GB, free: 12.46 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.008457/0.6471, allocations: 3.279 MB / 1.499 GB, free: 9.195 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.04602/0.6932, allocations: 43.85 MB / 1.542 GB, free: 13.23 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 1.342/2.035, allocations: 17.93 MB / 1.56 GB, free: 15.2 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02732/2.063, allocations: 14.84 MB / 1.574 GB, free: 14.75 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02449/2.087, allocations: 13.18 MB / 1.587 GB, free: 12.66 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.00706/2.094, allocations: 1.989 MB / 1.589 GB, free: 12.66 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01511/2.109, allocations: 3.739 MB / 1.593 GB, free: 12.66 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.00862/2.118, allocations: 5.06 MB / 1.597 GB, free: 11.91 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.01784/2.136, allocations: 9.859 MB / 1.607 GB, free: 9.504 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02981/2.165, allocations: 28 MB / 1.634 GB, free: 6.18 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/2.165, allocations: 3.562 kB / 1.634 GB, free: 6.18 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.763e-06/2.165, allocations: 0 / 1.634 GB, free: 6.18 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0007957/2.166, allocations: 4.25 kB / 1.634 GB, free: 6.18 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3132 * Number of variables: 3132 Notification: Performance of Generate backend data structure: time 0.0468/2.213, allocations: 18.77 MB / 1.653 GB, free: 15.39 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/2.213, allocations: 14.45 kB / 1.653 GB, free: 15.39 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02203/2.235, allocations: 3.456 MB / 1.656 GB, free: 14.45 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03614/2.271, allocations: 16.05 MB / 1.672 GB, free: 10.81 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008374/2.272, allocations: 0.8687 MB / 1.673 GB, free: 10.79 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005097/2.277, allocations: 1.169 MB / 1.674 GB, free: 10.77 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0456/2.323, allocations: 18.41 MB / 1.692 GB, free: 3.402 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000354/2.323, allocations: 46.44 kB / 1.692 GB, free: 3.391 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003152/2.326, allocations: 0.4998 MB / 1.692 GB, free: 3.02 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004581/2.327, allocations: 0.5825 MB / 1.693 GB, free: 2.922 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04265/2.369, allocations: 16.49 MB / 1.709 GB, free: 10.27 MB / 1.295 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.1269/2.496, allocations: 67.79 MB / 1.775 GB, free: 5.086 MB / 1.358 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02366/2.52, allocations: 10.07 MB / 1.785 GB, free: 11.23 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01255/2.532, allocations: 5.358 MB / 1.79 GB, free: 5.852 MB / 1.373 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003504/2.536, allocations: 2.421 MB / 1.793 GB, free: 2.996 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01713/2.553, allocations: 6.098 MB / 1.799 GB, free: 12.85 MB / 1.389 GB Notification: Performance of pre-optimization done (n=729): time 1.256e-05/2.553, allocations: 0 / 1.799 GB, free: 12.85 MB / 1.389 GB Notification: Performance of matching and sorting (n=729): time 0.0441/2.597, allocations: 14.69 MB / 1.813 GB, free: 14.08 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002033/2.597, allocations: 309 kB / 1.813 GB, free: 13.72 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02535/2.623, allocations: 12.23 MB / 1.825 GB, free: 1.559 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.002449/2.625, allocations: 177.7 kB / 1.825 GB, free: 1.379 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.01055/2.636, allocations: 6.647 MB / 1.832 GB, free: 10.74 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.004946/2.641, allocations: 2.637 MB / 1.834 GB, free: 8.141 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004004/2.645, allocations: 1.802 MB / 1.836 GB, free: 6.324 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.000137/2.645, allocations: 305.1 kB / 1.836 GB, free: 6.023 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01148/2.656, allocations: 4.896 MB / 1.841 GB, free: 1.105 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01453/2.671, allocations: 7.15 MB / 1.848 GB, free: 9.047 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02644/2.697, allocations: 12.41 MB / 1.86 GB, free: 11.96 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.675e-05/2.697, allocations: 20 kB / 1.86 GB, free: 11.95 MB / 1.451 GB Notification: Performance of matching and sorting (n=1136) (initialization): time 0.03804/2.735, allocations: 13.62 MB / 1.874 GB, free: 14.66 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 6.765e-05/2.736, allocations: 36.25 kB / 1.874 GB, free: 14.63 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.038e-05/2.736, allocations: 71.92 kB / 1.874 GB, free: 14.56 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/2.736, allocations: 184.4 kB / 1.874 GB, free: 14.38 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01177/2.748, allocations: 2.263 MB / 1.876 GB, free: 12.25 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/2.751, allocations: 1.782 MB / 1.878 GB, free: 10.35 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01418/2.765, allocations: 1.392 MB / 1.879 GB, free: 8.953 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002154/2.767, allocations: 439.8 kB / 1.88 GB, free: 8.523 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02286/2.79, allocations: 9.334 MB / 1.889 GB, free: 15.18 MB / 1.483 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01636/2.806, allocations: 7.14 MB / 1.896 GB, free: 7.125 MB / 1.483 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02833/2.835, allocations: 12.41 MB / 1.908 GB, free: 10.05 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.971e-05/2.835, allocations: 20 kB / 1.908 GB, free: 10.03 MB / 1.498 GB Notification: Performance of matching and sorting (n=1136) (initialization_lambda0): time 0.03691/2.871, allocations: 13.62 MB / 1.921 GB, free: 12.75 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/2.872, allocations: 32 kB / 1.921 GB, free: 12.72 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.259e-05/2.872, allocations: 64 kB / 1.921 GB, free: 12.66 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/2.872, allocations: 189.4 kB / 1.921 GB, free: 12.47 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0119/2.884, allocations: 2.255 MB / 1.924 GB, free: 10.34 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/2.887, allocations: 1.796 MB / 1.925 GB, free: 8.441 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/2.901, allocations: 1.127 MB / 1.927 GB, free: 7.309 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/2.903, allocations: 439.8 kB / 1.927 GB, free: 6.879 MB / 1.514 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * Number of states: 0 () * Number of discrete variables: 29 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solCol1.HDirTil.incAng.decAng.tNext,$PRE.solCol1.HDirTil.incAng.decAng.tNext,solCol1.HDifTilIso.incAng.decAng.tNext,$PRE.solCol1.HDifTilIso.incAng.decAng.tNext,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,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1134): * Single equations (assignments): 1133 * 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.002973/2.906, allocations: 0.7407 MB / 1.928 GB, free: 6.262 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004567/2.91, allocations: 1.211 MB / 1.929 GB, free: 5.043 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03391/2.944, allocations: 12.59 MB / 1.941 GB, free: 8.375 MB / 1.529 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02485/2.969, allocations: 9.673 MB / 1.951 GB, free: 14.59 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/2.969, allocations: 0 / 1.951 GB, free: 14.59 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008787/2.978, allocations: 2.908 MB / 1.953 GB, free: 11.66 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003974/2.982, allocations: 167.9 kB / 1.954 GB, free: 11.49 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01497/2.997, allocations: 0.662 MB / 1.954 GB, free: 10.84 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003003/3, allocations: 449.3 kB / 1.955 GB, free: 10.39 MB / 1.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03711/3.037, allocations: 11.53 MB / 1.966 GB, free: 14.93 MB / 1.561 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04629/3.083, allocations: 18.15 MB / 1.984 GB, free: 12.68 MB / 1.576 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01222/3.096, allocations: 4.86 MB / 1.988 GB, free: 7.801 MB / 1.576 GB Notification: Performance of sorting global known variables: time 0.01908/3.115, allocations: 8.634 MB / 1.997 GB, free: 15.2 MB / 1.592 GB Notification: Performance of Backend: time 6.81e-07/3.115, allocations: 4 kB / 1.997 GB, free: 15.2 MB / 1.592 GB Notification: Performance of simCode: created initialization part: time 0.04757/3.162, allocations: 14.31 MB / 2.011 GB, free: 1.691 MB / 1.592 GB Notification: Performance of SimCode: time 0.08182/3.244, allocations: 33.55 MB / 2.044 GB, free: 372 kB / 1.623 GB Notification: Performance of Templates: time 1.047/4.291, allocations: 322.3 MB / 2.358 GB, free: 0.636 GB / 1.779 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches