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.001087/0.001087, allocations: 112.2 kB / 16.42 MB, free: 6.461 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.001132/0.001132, 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.312/1.312, 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.526/2.526, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7171, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels): time 0.06369/0.7808, allocations: 57.31 MB / 1.264 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1751/0.956, allocations: 167.9 MB / 1.428 GB, free: 11.59 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.9597, allocations: 91.5 kB / 1.428 GB, free: 11.5 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003515/0.9632, allocations: 1.213 MB / 1.43 GB, free: 10.28 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008756/0.972, allocations: 3.084 MB / 1.433 GB, free: 7.188 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006482/0.9785, allocations: 2.719 MB / 1.435 GB, free: 4.484 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0604/1.039, allocations: 68.38 MB / 1.502 GB, free: 15.92 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04323/1.082, allocations: 32.68 MB / 1.534 GB, free: 15.06 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03606/1.118, allocations: 22.56 MB / 1.556 GB, free: 8.617 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 1.23/2.348, allocations: 19.25 MB / 1.575 GB, free: 55.04 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0106/2.358, allocations: 2.956 MB / 1.578 GB, free: 55.04 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01934/2.378, allocations: 4.595 MB / 1.582 GB, free: 55.04 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0133/2.391, allocations: 7.348 MB / 1.589 GB, free: 55.04 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.02756/2.419, allocations: 14.81 MB / 1.604 GB, free: 53.23 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.04448/2.463, allocations: 41.78 MB / 1.645 GB, free: 48.57 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/2.463, allocations: 0.6562 kB / 1.645 GB, free: 48.57 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.562e-06/2.463, allocations: 0.9375 kB / 1.645 GB, free: 48.57 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001294/2.465, allocations: 0 / 1.645 GB, free: 48.57 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.07266/2.537, allocations: 27.4 MB / 1.671 GB, free: 39.45 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/2.537, allocations: 7.531 kB / 1.671 GB, free: 39.45 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02453/2.562, allocations: 4 MB / 1.675 GB, free: 38.16 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05147/2.613, allocations: 25.35 MB / 1.7 GB, free: 28.09 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009494/2.614, allocations: 1.287 MB / 1.701 GB, free: 27.51 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006649/2.621, allocations: 1.73 MB / 1.703 GB, free: 26.93 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06169/2.683, allocations: 27.82 MB / 1.73 GB, free: 10.07 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006845/2.683, allocations: 70.08 kB / 1.73 GB, free: 10.05 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00526/2.689, allocations: 0.7436 MB / 1.731 GB, free: 9.504 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006928/2.689, allocations: 0.9003 MB / 1.732 GB, free: 9.344 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05608/2.746, allocations: 24.31 MB / 1.756 GB, free: 6.875 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.1788/2.924, allocations: 103.9 MB / 1.857 GB, free: 12.52 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03259/2.957, allocations: 16.24 MB / 1.873 GB, free: 12.43 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01837/2.975, allocations: 8.616 MB / 1.881 GB, free: 3.77 MB / 1.42 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003226/2.979, allocations: 2.057 MB / 1.883 GB, free: 1.383 MB / 1.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02012/2.999, allocations: 8.307 MB / 1.891 GB, free: 9.012 MB / 1.436 GB Notification: Performance of pre-optimization done (n=1046): time 1.93e-05/2.999, allocations: 0 / 1.891 GB, free: 9.012 MB / 1.436 GB Notification: Performance of matching and sorting (n=1046): time 0.05671/3.055, allocations: 20.69 MB / 1.912 GB, free: 4.219 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/3.056, allocations: 287.9 kB / 1.912 GB, free: 3.895 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03737/3.093, allocations: 18.73 MB / 1.93 GB, free: 1.238 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.00279/3.096, allocations: 245.7 kB / 1.93 GB, free: 0.9922 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.01283/3.109, allocations: 9.985 MB / 1.94 GB, free: 6.973 MB / 1.483 GB Notification: Performance of collectInitialBindings (initialization): time 0.0062/3.115, allocations: 3.645 MB / 1.944 GB, free: 3.359 MB / 1.483 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007357/3.122, allocations: 2.634 MB / 1.946 GB, free: 0.7109 MB / 1.483 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/3.122, allocations: 313.1 kB / 1.947 GB, free: 412 kB / 1.483 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01579/3.138, allocations: 7.124 MB / 1.954 GB, free: 9.258 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01932/3.158, allocations: 10.72 MB / 1.964 GB, free: 13.07 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03548/3.193, allocations: 18.61 MB / 1.982 GB, free: 9.336 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-05/3.193, allocations: 28 kB / 1.982 GB, free: 9.309 MB / 1.529 GB Notification: Performance of matching and sorting (n=1679) (initialization): time 0.04962/3.243, allocations: 19.93 MB / 2.002 GB, free: 5.93 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/3.243, allocations: 52.94 kB / 2.002 GB, free: 5.879 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/3.243, allocations: 104 kB / 2.002 GB, free: 5.777 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/3.244, allocations: 183.1 kB / 2.002 GB, free: 5.602 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01746/3.261, allocations: 3.276 MB / 2.005 GB, free: 2.52 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003554/3.261, allocations: 250.8 kB / 2.005 GB, free: 2.32 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01983/3.281, allocations: 2.003 MB / 2.007 GB, free: 308 kB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003288/3.285, allocations: 0.6326 MB / 2.008 GB, free: 15.67 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03266/3.317, allocations: 14.19 MB / 2.022 GB, free: 1.453 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0208/3.338, allocations: 10.71 MB / 2.032 GB, free: 5.273 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03683/3.375, allocations: 18.6 MB / 2.05 GB, free: 1.547 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001074/3.375, allocations: 36 kB / 2.051 GB, free: 1.512 MB / 1.592 GB Notification: Performance of matching and sorting (n=1679) (initialization_lambda0): time 0.05161/3.427, allocations: 19.92 MB / 2.07 GB, free: 14.15 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/3.427, allocations: 56.03 kB / 2.07 GB, free: 14.09 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/3.427, allocations: 104 kB / 2.07 GB, free: 13.99 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/3.427, allocations: 176 kB / 2.07 GB, free: 13.82 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01647/3.444, allocations: 3.279 MB / 2.074 GB, free: 10.74 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004119/3.444, allocations: 243.8 kB / 2.074 GB, free: 10.54 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01896/3.463, allocations: 1.62 MB / 2.075 GB, free: 8.914 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003028/3.466, allocations: 0.6287 MB / 2.076 GB, free: 8.285 MB / 1.623 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.00544/3.472, allocations: 1.022 MB / 2.077 GB, free: 7.453 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007181/3.479, allocations: 1.725 MB / 2.079 GB, free: 5.707 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04179/3.521, allocations: 17.54 MB / 2.096 GB, free: 4.059 MB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03078/3.551, allocations: 13.24 MB / 2.109 GB, free: 6.742 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/3.552, allocations: 4 kB / 2.109 GB, free: 6.738 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01295/3.564, allocations: 4.172 MB / 2.113 GB, free: 2.523 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006102/3.571, allocations: 243.8 kB / 2.113 GB, free: 2.285 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01627/3.587, allocations: 0.9228 MB / 2.114 GB, free: 1.371 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002456/3.589, allocations: 0.5964 MB / 2.114 GB, free: 0.7734 MB / 1.654 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04315/3.633, allocations: 16.43 MB / 2.131 GB, free: 432 kB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05688/3.689, allocations: 26.01 MB / 2.156 GB, free: 6.25 MB / 1.701 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01453/3.704, allocations: 7.465 MB / 2.163 GB, free: 14.75 MB / 1.717 GB Notification: Performance of sorting global known variables: time 0.02738/3.731, allocations: 13.25 MB / 2.176 GB, free: 1.562 MB / 1.717 GB Notification: Performance of Backend: time 6.91e-07/3.731, allocations: 0 / 2.176 GB, free: 1.562 MB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.604/4.335, allocations: 21.19 MB / 2.197 GB, free: 0.7041 GB / 1.717 GB Notification: Performance of SimCode: time 0.09694/4.432, allocations: 50.82 MB / 2.246 GB, free: 0.6847 GB / 1.717 GB Notification: Performance of Templates: time 0.5743/5.007, allocations: 476 MB / 2.711 GB, free: 240.7 MB / 1.717 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