Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,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.EN12975NPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,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.EN12975NPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 113.9 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.001421/0.001421, 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.387/1.387, 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 2.644/2.644, allocations: 469.4 MB / 0.7428 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 59.91 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8105, allocations: 159.1 MB / 1.221 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels): time 0.05672/0.8672, allocations: 57.31 MB / 1.277 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1819/1.049, allocations: 167.9 MB / 1.441 GB, free: 476 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/1.053, allocations: 91.5 kB / 1.441 GB, free: 384 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003687/1.057, allocations: 1.241 MB / 1.442 GB, free: 15.12 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.009355/1.066, allocations: 3.208 MB / 1.445 GB, free: 11.9 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006713/1.073, allocations: 2.727 MB / 1.448 GB, free: 9.191 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.05769/1.131, allocations: 68.5 MB / 1.515 GB, free: 4.52 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04391/1.175, allocations: 32.69 MB / 1.547 GB, free: 3.652 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 1.352/2.527, allocations: 22.54 MB / 1.569 GB, free: 39.68 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02811/2.555, allocations: 19.26 MB / 1.588 GB, free: 39.19 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.01041/2.566, allocations: 2.953 MB / 1.59 GB, free: 39.19 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0231/2.589, allocations: 4.596 MB / 1.595 GB, free: 39.19 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.01458/2.603, allocations: 7.349 MB / 1.602 GB, free: 38.29 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.02691/2.63, allocations: 14.8 MB / 1.617 GB, free: 34.71 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.04579/2.676, allocations: 41.79 MB / 1.657 GB, free: 30.04 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/2.676, allocations: 0 / 1.657 GB, free: 30.04 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.723e-06/2.676, allocations: 0 / 1.657 GB, free: 30.04 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001322/2.678, allocations: 0.8125 kB / 1.657 GB, free: 30.04 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: 4661 * Number of variables: 4661 Notification: Performance of Generate backend data structure: time 0.07633/2.754, allocations: 27.4 MB / 1.684 GB, free: 20.91 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/2.754, allocations: 11.75 kB / 1.684 GB, free: 20.91 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02664/2.781, allocations: 3.995 MB / 1.688 GB, free: 19.62 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05655/2.837, allocations: 25.33 MB / 1.713 GB, free: 7.855 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001142/2.838, allocations: 1.293 MB / 1.714 GB, free: 7.27 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007616/2.846, allocations: 1.734 MB / 1.716 GB, free: 6.68 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07428/2.92, allocations: 27.82 MB / 1.743 GB, free: 5.211 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009839/2.921, allocations: 67.98 kB / 1.743 GB, free: 5.168 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007484/2.929, allocations: 0.7462 MB / 1.744 GB, free: 4.434 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009747/2.93, allocations: 0.8947 MB / 1.745 GB, free: 3.547 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06418/2.994, allocations: 24.33 MB / 1.768 GB, free: 11.41 MB / 1.326 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.1933/3.187, allocations: 103.9 MB / 1.87 GB, free: 1.035 MB / 1.42 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03399/3.221, allocations: 16.25 MB / 1.886 GB, free: 0.9336 MB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01844/3.24, allocations: 8.612 MB / 1.894 GB, free: 8.281 MB / 1.451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002954/3.243, allocations: 2.064 MB / 1.896 GB, free: 5.891 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02165/3.265, allocations: 8.304 MB / 1.904 GB, free: 13.52 MB / 1.467 GB Notification: Performance of pre-optimization done (n=1046): time 1.404e-05/3.265, allocations: 0 / 1.904 GB, free: 13.52 MB / 1.467 GB Notification: Performance of matching and sorting (n=1046): time 0.05785/3.322, allocations: 20.68 MB / 1.924 GB, free: 8.734 MB / 1.483 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/3.323, allocations: 296.1 kB / 1.925 GB, free: 8.398 MB / 1.483 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03915/3.362, allocations: 18.72 MB / 1.943 GB, free: 5.746 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.002913/3.365, allocations: 241.7 kB / 1.943 GB, free: 5.504 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.01444/3.379, allocations: 9.999 MB / 1.953 GB, free: 11.48 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.006848/3.386, allocations: 3.634 MB / 1.956 GB, free: 7.871 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008462/3.395, allocations: 2.638 MB / 1.959 GB, free: 5.219 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 0.0001081/3.395, allocations: 301.1 kB / 1.959 GB, free: 4.922 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01723/3.412, allocations: 7.132 MB / 1.966 GB, free: 13.77 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02081/3.433, allocations: 10.72 MB / 1.977 GB, free: 1.586 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0371/3.47, allocations: 18.61 MB / 1.995 GB, free: 13.85 MB / 1.561 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/3.47, allocations: 39.98 kB / 1.995 GB, free: 13.81 MB / 1.561 GB Notification: Performance of matching and sorting (n=1679) (initialization): time 0.053/3.523, allocations: 19.92 MB / 2.014 GB, free: 10.44 MB / 1.576 GB Notification: Performance of prepare postOptimizeDAE: time 9.151e-05/3.523, allocations: 48 kB / 2.014 GB, free: 10.39 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/3.523, allocations: 112 kB / 2.015 GB, free: 10.29 MB / 1.576 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/3.524, allocations: 180.1 kB / 2.015 GB, free: 10.11 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01698/3.541, allocations: 3.283 MB / 2.018 GB, free: 7.023 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003132/3.541, allocations: 243 kB / 2.018 GB, free: 6.832 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02084/3.562, allocations: 2.007 MB / 2.02 GB, free: 4.809 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003193/3.565, allocations: 0.6286 MB / 2.021 GB, free: 4.18 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03111/3.596, allocations: 14.19 MB / 2.035 GB, free: 5.969 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02086/3.617, allocations: 10.72 MB / 2.045 GB, free: 9.781 MB / 1.608 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03785/3.655, allocations: 18.6 MB / 2.063 GB, free: 6.055 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.082e-05/3.655, allocations: 33.56 kB / 2.063 GB, free: 6.023 MB / 1.623 GB Notification: Performance of matching and sorting (n=1679) (initialization_lambda0): time 0.04994/3.705, allocations: 19.92 MB / 2.083 GB, free: 2.652 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 7.996e-05/3.705, allocations: 48 kB / 2.083 GB, free: 2.605 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/3.705, allocations: 108.9 kB / 2.083 GB, free: 2.5 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/3.705, allocations: 176 kB / 2.083 GB, free: 2.328 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01643/3.722, allocations: 3.287 MB / 2.086 GB, free: 15.24 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002873/3.722, allocations: 242.9 kB / 2.086 GB, free: 15.05 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01964/3.742, allocations: 1.61 MB / 2.088 GB, free: 13.43 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002953/3.745, allocations: 0.6248 MB / 2.089 GB, free: 12.8 MB / 1.654 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 (1679): * Single equations (assignments): 1679 * 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.00437/3.749, allocations: 1.022 MB / 2.09 GB, free: 11.97 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006762/3.756, allocations: 1.725 MB / 2.091 GB, free: 10.23 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04706/3.803, allocations: 17.55 MB / 2.108 GB, free: 8.562 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03328/3.836, allocations: 13.26 MB / 2.121 GB, free: 11.23 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/3.836, allocations: 0 / 2.121 GB, free: 11.23 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01461/3.851, allocations: 4.168 MB / 2.126 GB, free: 7.023 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006671/3.858, allocations: 239.8 kB / 2.126 GB, free: 6.789 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01815/3.876, allocations: 0.9267 MB / 2.127 GB, free: 5.871 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002752/3.879, allocations: 0.5972 MB / 2.127 GB, free: 5.27 MB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04728/3.926, allocations: 16.43 MB / 2.143 GB, free: 4.914 MB / 1.701 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05867/3.985, allocations: 26 MB / 2.169 GB, free: 10.75 MB / 1.733 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01567/4, allocations: 7.46 MB / 2.176 GB, free: 3.258 MB / 1.733 GB Notification: Performance of sorting global known variables: time 0.02725/4.028, allocations: 13.25 MB / 2.189 GB, free: 6.074 MB / 1.748 GB Notification: Performance of Backend: time 8.01e-07/4.028, allocations: 0 / 2.189 GB, free: 6.074 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.6346/4.662, allocations: 21.2 MB / 2.21 GB, free: 0.7222 GB / 1.748 GB Notification: Performance of SimCode: time 0.1088/4.771, allocations: 50.81 MB / 2.259 GB, free: 0.7043 GB / 1.748 GB Notification: Performance of Templates: time 0.5709/5.342, allocations: 468.4 MB / 2.717 GB, free: 275.1 MB / 1.748 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches