Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00117/0.00117, allocations: 109.9 kB / 16.42 MB, free: 6.434 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.001474/0.001474, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.451/2.451, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.83 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6735/0.6748, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.05498/0.7298, allocations: 57.63 MB / 1.224 GB, free: 10 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.173/0.9029, allocations: 168.4 MB / 1.388 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004099/0.907, allocations: 91.5 kB / 1.388 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003645/0.9107, allocations: 1.225 MB / 1.389 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009405/0.9202, allocations: 3.309 MB / 1.393 GB, free: 12.31 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0071/0.9273, allocations: 2.865 MB / 1.395 GB, free: 9.465 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.05995/0.9872, allocations: 68.57 MB / 1.462 GB, free: 4.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04161/1.029, allocations: 32.72 MB / 1.494 GB, free: 3.832 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03978/1.069, allocations: 22.56 MB / 1.516 GB, free: 13.38 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02954/1.098, allocations: 19.33 MB / 1.535 GB, free: 9.969 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.008334/1.107, allocations: 2.965 MB / 1.538 GB, free: 7.004 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/1.123, allocations: 4.642 MB / 1.543 GB, free: 2.363 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.01253/1.135, allocations: 7.397 MB / 1.55 GB, free: 10.95 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 1.168/2.303, allocations: 14.85 MB / 1.564 GB, free: 80.24 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.04618/2.35, allocations: 42.11 MB / 1.605 GB, free: 78.19 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/2.35, allocations: 0 / 1.605 GB, free: 78.19 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.983e-06/2.35, allocations: 0 / 1.605 GB, free: 78.19 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.00124/2.351, allocations: 0 / 1.605 GB, free: 78.19 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.07396/2.425, allocations: 28.21 MB / 1.633 GB, free: 68.34 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/2.425, allocations: 8.891 kB / 1.633 GB, free: 68.34 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02632/2.451, allocations: 4.413 MB / 1.637 GB, free: 66.93 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0515/2.503, allocations: 25.22 MB / 1.662 GB, free: 63.68 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009909/2.504, allocations: 1.295 MB / 1.663 GB, free: 63.64 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006868/2.511, allocations: 1.745 MB / 1.665 GB, free: 63.62 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06569/2.576, allocations: 28.03 MB / 1.692 GB, free: 56 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008447/2.577, allocations: 71.72 kB / 1.692 GB, free: 55.98 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006154/2.583, allocations: 0.7473 MB / 1.693 GB, free: 55.98 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008185/2.584, allocations: 0.9039 MB / 1.694 GB, free: 55.88 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0539/2.638, allocations: 24.73 MB / 1.718 GB, free: 44.13 MB / 1.279 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.1714/2.81, allocations: 105 MB / 1.821 GB, free: 8.594 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03408/2.844, allocations: 16.32 MB / 1.837 GB, free: 8.457 MB / 1.358 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01876/2.862, allocations: 8.826 MB / 1.845 GB, free: 15.59 MB / 1.373 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003013/2.866, allocations: 2.071 MB / 1.847 GB, free: 13.2 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0207/2.886, allocations: 8.514 MB / 1.856 GB, free: 4.621 MB / 1.373 GB Notification: Performance of pre-optimization done (n=1058): time 1.781e-05/2.886, allocations: 4 kB / 1.856 GB, free: 4.617 MB / 1.373 GB Notification: Performance of matching and sorting (n=1058): time 0.06001/2.946, allocations: 21.36 MB / 1.876 GB, free: 15.17 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002286/2.947, allocations: 365.3 kB / 1.877 GB, free: 14.75 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04431/2.991, allocations: 19.01 MB / 1.895 GB, free: 11.82 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.003065/2.994, allocations: 241.7 kB / 1.896 GB, free: 11.58 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.01521/3.009, allocations: 10.2 MB / 1.906 GB, free: 1.363 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.008328/3.018, allocations: 3.858 MB / 1.909 GB, free: 13.55 MB / 1.436 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01192/3.03, allocations: 2.683 MB / 1.912 GB, free: 10.86 MB / 1.436 GB Notification: Performance of setup shared object (initialization): time 0.0001032/3.03, allocations: 312.4 kB / 1.912 GB, free: 10.55 MB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01791/3.048, allocations: 7.328 MB / 1.919 GB, free: 3.207 MB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02112/3.069, allocations: 10.93 MB / 1.93 GB, free: 6.816 MB / 1.451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03991/3.109, allocations: 18.97 MB / 1.949 GB, free: 2.738 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.486e-05/3.109, allocations: 32 kB / 1.949 GB, free: 2.707 MB / 1.467 GB Notification: Performance of matching and sorting (n=1696) (initialization): time 0.05373/3.163, allocations: 20.43 MB / 1.969 GB, free: 14.84 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/3.163, allocations: 56.03 kB / 1.969 GB, free: 14.79 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002184/3.163, allocations: 108 kB / 1.969 GB, free: 14.68 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/3.163, allocations: 175.8 kB / 1.969 GB, free: 14.52 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01763/3.181, allocations: 3.334 MB / 1.972 GB, free: 11.38 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003287/3.181, allocations: 239.8 kB / 1.972 GB, free: 11.19 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02093/3.202, allocations: 2.088 MB / 1.974 GB, free: 9.09 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003177/3.205, allocations: 0.6364 MB / 1.975 GB, free: 8.453 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03268/3.238, allocations: 14.4 MB / 1.989 GB, free: 10.04 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02078/3.259, allocations: 10.93 MB / 2 GB, free: 13.64 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0391/3.298, allocations: 18.96 MB / 2.018 GB, free: 9.57 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001097/3.298, allocations: 32 kB / 2.018 GB, free: 9.539 MB / 1.545 GB Notification: Performance of matching and sorting (n=1696) (initialization_lambda0): time 0.05567/3.354, allocations: 20.42 MB / 2.038 GB, free: 5.68 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/3.354, allocations: 52 kB / 2.038 GB, free: 5.629 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/3.354, allocations: 104 kB / 2.038 GB, free: 5.527 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/3.354, allocations: 176 kB / 2.039 GB, free: 5.355 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01698/3.371, allocations: 3.337 MB / 2.042 GB, free: 2.215 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003265/3.372, allocations: 246.9 kB / 2.042 GB, free: 2.02 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02004/3.392, allocations: 1.664 MB / 2.044 GB, free: 356 kB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002953/3.395, allocations: 0.6365 MB / 2.044 GB, free: 15.71 MB / 1.576 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.004952/3.4, allocations: 1.03 MB / 2.045 GB, free: 14.87 MB / 1.576 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007326/3.407, allocations: 1.825 MB / 2.047 GB, free: 13.04 MB / 1.576 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04626/3.453, allocations: 17.19 MB / 2.064 GB, free: 11.74 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03343/3.487, allocations: 13.64 MB / 2.077 GB, free: 14.03 MB / 1.608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-05/3.487, allocations: 4 kB / 2.077 GB, free: 14.02 MB / 1.608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01302/3.5, allocations: 4.329 MB / 2.081 GB, free: 9.66 MB / 1.608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006728/3.507, allocations: 235.8 kB / 2.082 GB, free: 9.43 MB / 1.608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01886/3.526, allocations: 0.954 MB / 2.083 GB, free: 8.484 MB / 1.608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002822/3.528, allocations: 0.609 MB / 2.083 GB, free: 7.871 MB / 1.608 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04789/3.576, allocations: 16.81 MB / 2.1 GB, free: 7.145 MB / 1.623 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05975/3.636, allocations: 26.69 MB / 2.126 GB, free: 12.31 MB / 1.654 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01575/3.652, allocations: 7.66 MB / 2.133 GB, free: 4.617 MB / 1.654 GB Notification: Performance of sorting global known variables: time 0.02651/3.678, allocations: 13.45 MB / 2.146 GB, free: 7.238 MB / 1.67 GB Notification: Performance of Backend: time 5.11e-07/3.678, allocations: 4 kB / 2.146 GB, free: 7.234 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.6033/4.282, allocations: 22.03 MB / 2.168 GB, free: 0.6955 GB / 1.67 GB Notification: Performance of SimCode: time 0.1041/4.386, allocations: 51.66 MB / 2.218 GB, free: 0.6756 GB / 1.67 GB Notification: Performance of Templates: time 0.5638/4.95, allocations: 474.8 MB / 2.682 GB, free: 229.9 MB / 1.67 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches