Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001512/0.001512, allocations: 116.5 kB / 16.81 MB, free: 5.77 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.001295/0.001295, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.396/1.396, allocations: 225.6 MB / 244.2 MB, free: 13.88 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.816/2.816, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 62.89 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3209, allocations: 168.7 MB / 1.262 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.06334/0.3842, allocations: 57.97 MB / 1.319 GB, free: 2.758 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1967/0.5809, allocations: 169 MB / 1.484 GB, free: 9.188 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003728/0.5846, allocations: 95.44 kB / 1.484 GB, free: 9.094 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.003809/0.5884, allocations: 1.237 MB / 1.485 GB, free: 7.848 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.5984, allocations: 3.309 MB / 1.488 GB, free: 4.527 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00733/0.6058, allocations: 2.915 MB / 1.491 GB, free: 1.629 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 1.231/1.837, allocations: 68.71 MB / 1.558 GB, free: 11.57 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03831/1.876, allocations: 27.38 MB / 1.585 GB, free: 9.137 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03573/1.911, allocations: 22.68 MB / 1.607 GB, free: 7.453 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02765/1.939, allocations: 20.27 MB / 1.627 GB, free: 4.238 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.008579/1.948, allocations: 2.966 MB / 1.63 GB, free: 4.238 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01671/1.964, allocations: 4.656 MB / 1.634 GB, free: 4.238 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0118/1.976, allocations: 7.718 MB / 1.642 GB, free: 3.094 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.02893/2.005, allocations: 14.87 MB / 1.656 GB, free: 15.59 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.04936/2.054, allocations: 42.12 MB / 1.697 GB, free: 2.895 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/2.054, allocations: 7.578 kB / 1.697 GB, free: 2.891 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.164e-06/2.054, allocations: 0 / 1.697 GB, free: 2.891 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001379/2.056, allocations: 0 / 1.697 GB, free: 2.891 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.08119/2.137, allocations: 28.22 MB / 1.725 GB, free: 15.09 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/2.137, allocations: 12.03 kB / 1.725 GB, free: 15.08 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02852/2.165, allocations: 4.404 MB / 1.729 GB, free: 10.66 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06158/2.227, allocations: 25.23 MB / 1.754 GB, free: 2.387 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00147/2.229, allocations: 1.295 MB / 1.755 GB, free: 1.102 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007827/2.236, allocations: 1.741 MB / 1.757 GB, free: 15.37 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07406/2.31, allocations: 28.03 MB / 1.784 GB, free: 2.629 MB / 1.358 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009504/2.311, allocations: 73.88 kB / 1.784 GB, free: 2.578 MB / 1.358 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006146/2.317, allocations: 0.7424 MB / 1.785 GB, free: 1.844 MB / 1.358 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001032/2.319, allocations: 0.9018 MB / 1.786 GB, free: 0.9531 MB / 1.358 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06412/2.383, allocations: 24.73 MB / 1.81 GB, free: 8.398 MB / 1.389 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.1934/2.576, allocations: 105 MB / 1.913 GB, free: 12.87 MB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03547/2.611, allocations: 15.47 MB / 1.928 GB, free: 13.6 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01959/2.631, allocations: 8.116 MB / 1.936 GB, free: 5.445 MB / 1.514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003263/2.634, allocations: 2.076 MB / 1.938 GB, free: 3.043 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02267/2.657, allocations: 8.517 MB / 1.946 GB, free: 10.46 MB / 1.529 GB Notification: Performance of pre-optimization done (n=1058): time 1.897e-05/2.657, allocations: 0 / 1.946 GB, free: 10.46 MB / 1.529 GB Notification: Performance of matching and sorting (n=1058): time 0.06269/2.72, allocations: 21.36 MB / 1.967 GB, free: 5.008 MB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002709/2.72, allocations: 368.5 kB / 1.967 GB, free: 4.586 MB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05619/2.776, allocations: 19.01 MB / 1.986 GB, free: 1.652 MB / 1.561 GB Notification: Performance of collectPreVariables (initialization): time 0.002635/2.779, allocations: 245.7 kB / 1.986 GB, free: 1.406 MB / 1.561 GB Notification: Performance of collectInitialEqns (initialization): time 0.01426/2.793, allocations: 10.2 MB / 1.996 GB, free: 7.195 MB / 1.576 GB Notification: Performance of collectInitialBindings (initialization): time 0.006477/2.8, allocations: 3.858 MB / 2 GB, free: 3.387 MB / 1.576 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005531/2.805, allocations: 2.683 MB / 2.002 GB, free: 0.6914 MB / 1.576 GB Notification: Performance of setup shared object (initialization): time 0.0001302/2.805, allocations: 309.1 kB / 2.003 GB, free: 396 kB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01638/2.822, allocations: 7.322 MB / 2.01 GB, free: 9.047 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0208/2.842, allocations: 10.93 MB / 2.021 GB, free: 12.65 MB / 1.608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03804/2.88, allocations: 18.96 MB / 2.039 GB, free: 8.574 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.85e-05/2.881, allocations: 32 kB / 2.039 GB, free: 8.543 MB / 1.623 GB Notification: Performance of matching and sorting (n=1696) (initialization): time 0.05067/2.931, allocations: 20.43 MB / 2.059 GB, free: 4.672 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/2.931, allocations: 48 kB / 2.059 GB, free: 4.625 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001668/2.931, allocations: 112 kB / 2.059 GB, free: 4.516 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/2.932, allocations: 172 kB / 2.059 GB, free: 4.348 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01668/2.948, allocations: 3.345 MB / 2.063 GB, free: 1.203 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003495/2.949, allocations: 239.8 kB / 2.063 GB, free: 1.012 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01981/2.968, allocations: 2.074 MB / 2.065 GB, free: 14.93 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003322/2.972, allocations: 0.6404 MB / 2.065 GB, free: 14.29 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03356/3.005, allocations: 14.4 MB / 2.08 GB, free: 15.86 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02179/3.027, allocations: 10.92 MB / 2.09 GB, free: 3.477 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04043/3.068, allocations: 18.96 MB / 2.109 GB, free: 15.4 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.7e-05/3.068, allocations: 28 kB / 2.109 GB, free: 15.38 MB / 1.701 GB Notification: Performance of matching and sorting (n=1696) (initialization_lambda0): time 0.05417/3.122, allocations: 20.42 MB / 2.129 GB, free: 11.52 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/3.122, allocations: 52 kB / 2.129 GB, free: 11.46 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/3.122, allocations: 108 kB / 2.129 GB, free: 11.36 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/3.122, allocations: 172 kB / 2.129 GB, free: 11.19 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01731/3.14, allocations: 3.338 MB / 2.132 GB, free: 8.051 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003926/3.14, allocations: 246.9 kB / 2.133 GB, free: 7.855 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0217/3.162, allocations: 1.673 MB / 2.134 GB, free: 6.176 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003344/3.165, allocations: 0.6325 MB / 2.135 GB, free: 5.543 MB / 1.717 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.00581/3.171, allocations: 1.038 MB / 2.136 GB, free: 4.699 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00819/3.179, allocations: 1.821 MB / 2.138 GB, free: 2.867 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04754/3.227, allocations: 17.19 MB / 2.154 GB, free: 1.578 MB / 1.733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03778/3.264, allocations: 13.65 MB / 2.168 GB, free: 3.863 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-05/3.265, allocations: 0 / 2.168 GB, free: 3.863 MB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01476/3.279, allocations: 4.329 MB / 2.172 GB, free: 15.5 MB / 1.764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007063/3.286, allocations: 243.8 kB / 2.172 GB, free: 15.26 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01815/3.305, allocations: 0.9554 MB / 2.173 GB, free: 14.31 MB / 1.764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002842/3.307, allocations: 0.609 MB / 2.174 GB, free: 13.7 MB / 1.764 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05043/3.358, allocations: 16.81 MB / 2.19 GB, free: 12.97 MB / 1.779 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.7318/4.09, allocations: 26.69 MB / 2.216 GB, free: 0.7001 GB / 1.779 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01576/4.105, allocations: 7.115 MB / 2.223 GB, free: 0.6977 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.02443/4.13, allocations: 13.46 MB / 2.236 GB, free: 0.6933 GB / 1.779 GB Notification: Performance of Backend: time 4.1e-07/4.13, allocations: 0 / 2.236 GB, free: 0.6933 GB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.05643/4.186, allocations: 20.75 MB / 2.256 GB, free: 0.6871 GB / 1.779 GB Notification: Performance of SimCode: time 0.1074/4.294, allocations: 51.66 MB / 2.307 GB, free: 0.6635 GB / 1.779 GB Notification: Performance of Templates: time 0.5891/4.883, allocations: 484 MB / 2.78 GB, free: 203 MB / 1.779 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches