Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|solCol1.vol.30..T|solCol.heaGai.30..Q_flow|solCol1.heaGai.30..Q_flow|solCol.heaLos.QLos.30.|solCol1.heaLos.QLos.30.|difHeaGai.y|difHeaLos.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|solCol1.vol.30..T|solCol.heaGai.30..Q_flow|solCol1.heaGai.30..Q_flow|solCol.heaLos.QLos.30.|solCol1.heaLos.QLos.30.|difHeaGai.y|difHeaLos.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 106.7 kB / 16.41 MB, free: 6.504 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.001799/0.001799, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 64.12 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7295, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.05414/0.7837, allocations: 57.58 MB / 1.265 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.9529, allocations: 168.4 MB / 1.429 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003936/0.9569, allocations: 91.5 kB / 1.429 GB, free: 10.71 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003731/0.9607, allocations: 1.206 MB / 1.43 GB, free: 9.492 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009848/0.9706, allocations: 3.197 MB / 1.434 GB, free: 6.285 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006699/0.9773, allocations: 2.858 MB / 1.436 GB, free: 3.445 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.05633/1.034, allocations: 68.57 MB / 1.503 GB, free: 14.7 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04376/1.077, allocations: 32.77 MB / 1.535 GB, free: 13.75 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03541/1.113, allocations: 22.6 MB / 1.557 GB, free: 7.262 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 1.227/2.34, allocations: 19.33 MB / 1.576 GB, free: 55.5 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.01151/2.351, allocations: 2.966 MB / 1.579 GB, free: 55.5 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02248/2.374, allocations: 4.639 MB / 1.584 GB, free: 55.5 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.01581/2.389, allocations: 7.392 MB / 1.591 GB, free: 55.5 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.02996/2.419, allocations: 14.86 MB / 1.605 GB, free: 53.19 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.04759/2.467, allocations: 41.99 MB / 1.646 GB, free: 48.49 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/2.467, allocations: 0 / 1.646 GB, free: 48.49 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.954e-06/2.467, allocations: 0.7188 kB / 1.646 GB, free: 48.49 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001368/2.469, allocations: 0 / 1.646 GB, free: 48.49 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4677 * Number of variables: 4677 Notification: Performance of Generate backend data structure: time 0.07527/2.544, allocations: 27.52 MB / 1.673 GB, free: 39.28 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/2.544, allocations: 11.66 kB / 1.673 GB, free: 39.28 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02796/2.572, allocations: 4.288 MB / 1.677 GB, free: 37.98 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04975/2.622, allocations: 25.08 MB / 1.702 GB, free: 27.5 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001052/2.623, allocations: 1.293 MB / 1.703 GB, free: 26.91 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00712/2.63, allocations: 1.739 MB / 1.705 GB, free: 26.32 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0669/2.697, allocations: 28.03 MB / 1.732 GB, free: 9.344 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006937/2.697, allocations: 65.64 kB / 1.732 GB, free: 9.328 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006346/2.704, allocations: 0.756 MB / 1.733 GB, free: 8.766 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006878/2.705, allocations: 0.9048 MB / 1.734 GB, free: 8.605 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05858/2.763, allocations: 24.73 MB / 1.758 GB, free: 4.578 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.2169/2.98, allocations: 104.8 MB / 1.86 GB, free: 9.289 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0465/3.027, allocations: 16.32 MB / 1.876 GB, free: 9.16 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01919/3.046, allocations: 8.826 MB / 1.885 GB, free: 304 kB / 1.42 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003166/3.049, allocations: 2.074 MB / 1.887 GB, free: 13.9 MB / 1.436 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02265/3.072, allocations: 8.506 MB / 1.895 GB, free: 5.32 MB / 1.436 GB Notification: Performance of pre-optimization done (n=1058): time 1.979e-05/3.072, allocations: 0 / 1.895 GB, free: 5.32 MB / 1.436 GB Notification: Performance of matching and sorting (n=1058): time 0.0617/3.133, allocations: 21.27 MB / 1.916 GB, free: 15.95 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/3.134, allocations: 365.4 kB / 1.916 GB, free: 15.53 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04359/3.177, allocations: 19 MB / 1.935 GB, free: 12.61 MB / 1.483 GB Notification: Performance of collectPreVariables (initialization): time 0.003236/3.181, allocations: 245.7 kB / 1.935 GB, free: 12.36 MB / 1.483 GB Notification: Performance of collectInitialEqns (initialization): time 0.01575/3.196, allocations: 10 MB / 1.945 GB, free: 2.324 MB / 1.483 GB Notification: Performance of collectInitialBindings (initialization): time 0.008248/3.205, allocations: 3.679 MB / 1.949 GB, free: 14.67 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01084/3.216, allocations: 2.67 MB / 1.951 GB, free: 11.99 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 0.0001068/3.216, allocations: 305.1 kB / 1.951 GB, free: 11.69 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01736/3.233, allocations: 7.32 MB / 1.959 GB, free: 4.348 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0211/3.254, allocations: 10.93 MB / 1.969 GB, free: 7.949 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04016/3.294, allocations: 18.96 MB / 1.988 GB, free: 3.875 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000125/3.295, allocations: 28 kB / 1.988 GB, free: 3.848 MB / 1.529 GB Notification: Performance of matching and sorting (n=1696) (initialization): time 0.05646/3.351, allocations: 20.35 MB / 2.008 GB, free: 52 kB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/3.351, allocations: 48.62 kB / 2.008 GB, free: 4 kB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/3.351, allocations: 108 kB / 2.008 GB, free: 15.89 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/3.352, allocations: 176 kB / 2.008 GB, free: 15.72 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01692/3.368, allocations: 3.338 MB / 2.011 GB, free: 12.59 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00034/3.369, allocations: 243 kB / 2.012 GB, free: 12.39 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02074/3.39, allocations: 2.039 MB / 2.014 GB, free: 10.34 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003758/3.393, allocations: 0.6404 MB / 2.014 GB, free: 9.699 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03317/3.427, allocations: 14.4 MB / 2.028 GB, free: 11.28 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02148/3.448, allocations: 10.92 MB / 2.039 GB, free: 14.89 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03855/3.487, allocations: 18.96 MB / 2.057 GB, free: 10.82 MB / 1.608 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001523/3.487, allocations: 32 kB / 2.057 GB, free: 10.79 MB / 1.608 GB Notification: Performance of matching and sorting (n=1696) (initialization_lambda0): time 0.05636/3.543, allocations: 20.34 MB / 2.077 GB, free: 7.004 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001679/3.543, allocations: 55.09 kB / 2.077 GB, free: 6.953 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002078/3.544, allocations: 112 kB / 2.077 GB, free: 6.844 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/3.544, allocations: 176 kB / 2.078 GB, free: 6.672 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01756/3.562, allocations: 3.342 MB / 2.081 GB, free: 3.527 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000355/3.562, allocations: 239.8 kB / 2.081 GB, free: 3.336 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02026/3.582, allocations: 1.641 MB / 2.083 GB, free: 1.684 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003499/3.586, allocations: 0.6364 MB / 2.083 GB, free: 1.047 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.datRea.nextTimeEvent,$whenCondition3,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,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent,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,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1696): * Single equations (assignments): 1696 * Array equations: 0 * 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.006707/3.592, allocations: 1.033 MB / 2.084 GB, free: 216 kB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008806/3.601, allocations: 1.734 MB / 2.086 GB, free: 14.45 MB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05093/3.652, allocations: 17.18 MB / 2.103 GB, free: 13.17 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03511/3.687, allocations: 13.65 MB / 2.116 GB, free: 15.45 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-05/3.687, allocations: 0 / 2.116 GB, free: 15.45 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01341/3.701, allocations: 4.242 MB / 2.12 GB, free: 11.16 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006852/3.708, allocations: 243.7 kB / 2.121 GB, free: 10.93 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01709/3.725, allocations: 0.9599 MB / 2.121 GB, free: 9.977 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002574/3.727, allocations: 0.6164 MB / 2.122 GB, free: 9.359 MB / 1.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0469/3.774, allocations: 16.8 MB / 2.138 GB, free: 8.641 MB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06053/3.835, allocations: 26.6 MB / 2.164 GB, free: 13.89 MB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01535/3.85, allocations: 7.664 MB / 2.172 GB, free: 6.188 MB / 1.717 GB Notification: Performance of sorting global known variables: time 0.7487/4.599, allocations: 13.44 MB / 2.185 GB, free: 0.6738 GB / 1.717 GB Notification: Performance of Backend: time 1.373e-06/4.599, allocations: 0 / 2.185 GB, free: 0.6738 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.06089/4.66, allocations: 22.02 MB / 2.207 GB, free: 0.6706 GB / 1.717 GB Notification: Performance of SimCode: time 0.105/4.765, allocations: 51 MB / 2.256 GB, free: 0.6513 GB / 1.717 GB Notification: Performance of Templates: time 0.5993/5.364, allocations: 482.8 MB / 2.728 GB, free: 204.5 MB / 1.717 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches