Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00144/0.00144, allocations: 114.2 kB / 16.42 MB, free: 6.449 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.001568/0.001568, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 71.88 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6844/0.6857, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.05785/0.7436, allocations: 54.92 MB / 1.142 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1856/0.9292, allocations: 168.1 MB / 1.306 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00398/0.9333, allocations: 91.5 kB / 1.306 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.9362, allocations: 1.144 MB / 1.308 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008697/0.945, allocations: 3.089 MB / 1.311 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007291/0.9523, allocations: 2.844 MB / 1.313 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.06041/1.013, allocations: 68.19 MB / 1.38 GB, free: 2.996 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04311/1.056, allocations: 32.88 MB / 1.412 GB, free: 1.938 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03617/1.092, allocations: 22.55 MB / 1.434 GB, free: 11.5 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02745/1.12, allocations: 19.26 MB / 1.453 GB, free: 8.16 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.008345/1.128, allocations: 2.965 MB / 1.456 GB, free: 5.195 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01557/1.143, allocations: 4.642 MB / 1.46 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.01193/1.155, allocations: 7.389 MB / 1.468 GB, free: 9.141 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.02527/1.181, allocations: 14.78 MB / 1.482 GB, free: 10.3 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.04456/1.225, allocations: 41.84 MB / 1.523 GB, free: 348 kB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.225, allocations: 0 / 1.523 GB, free: 348 kB / 1.248 GB Notification: Performance of FrontEnd: time 1.603e-06/1.225, allocations: 0 / 1.523 GB, free: 348 kB / 1.248 GB Notification: Performance of Transformations before backend: time 0.00106/1.226, allocations: 3.938 kB / 1.523 GB, free: 344 kB / 1.248 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.06402/1.29, allocations: 27.46 MB / 1.55 GB, free: 4.688 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.291, allocations: 8.031 kB / 1.55 GB, free: 4.68 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02487/1.315, allocations: 4.273 MB / 1.554 GB, free: 384 kB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0557/1.371, allocations: 25.08 MB / 1.578 GB, free: 7.168 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001145/1.372, allocations: 1.304 MB / 1.58 GB, free: 5.863 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005857/1.378, allocations: 1.734 MB / 1.581 GB, free: 4.129 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.99/2.368, allocations: 28.02 MB / 1.609 GB, free: 398.7 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005399/2.369, allocations: 69.53 kB / 1.609 GB, free: 398.7 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004343/2.373, allocations: 0.7512 MB / 1.609 GB, free: 398.1 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009092/2.374, allocations: 0.9053 MB / 1.61 GB, free: 398 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05758/2.432, allocations: 24.73 MB / 1.635 GB, free: 390.3 MB / 1.311 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.1487/2.58, allocations: 103.9 MB / 1.736 GB, free: 307.1 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.027/2.607, allocations: 16.35 MB / 1.752 GB, free: 290.8 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01478/2.622, allocations: 8.843 MB / 1.761 GB, free: 281.9 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/2.625, allocations: 2.068 MB / 1.763 GB, free: 279.5 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01743/2.642, allocations: 8.519 MB / 1.771 GB, free: 271 MB / 1.311 GB Notification: Performance of pre-optimization done (n=1058): time 1.876e-05/2.642, allocations: 0 / 1.771 GB, free: 271 MB / 1.311 GB Notification: Performance of matching and sorting (n=1058): time 0.04831/2.69, allocations: 21.3 MB / 1.792 GB, free: 249.6 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/2.691, allocations: 369.3 kB / 1.792 GB, free: 249.1 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03551/2.726, allocations: 18.99 MB / 1.811 GB, free: 230.2 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.003139/2.729, allocations: 241.7 kB / 1.811 GB, free: 230 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.01151/2.741, allocations: 9.99 MB / 1.821 GB, free: 219.9 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.005683/2.747, allocations: 3.686 MB / 1.824 GB, free: 216.2 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009663/2.756, allocations: 2.666 MB / 1.827 GB, free: 213.5 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 4.44e-05/2.756, allocations: 309.1 kB / 1.827 GB, free: 213.2 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01486/2.771, allocations: 7.332 MB / 1.834 GB, free: 205.8 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01729/2.788, allocations: 10.93 MB / 1.845 GB, free: 193.4 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03255/2.821, allocations: 18.98 MB / 1.864 GB, free: 172.8 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/2.821, allocations: 31.94 kB / 1.864 GB, free: 172.8 MB / 1.311 GB Notification: Performance of matching and sorting (n=1696) (initialization): time 0.04828/2.869, allocations: 20.36 MB / 1.883 GB, free: 152.4 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/2.87, allocations: 52 kB / 1.884 GB, free: 152.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/2.87, allocations: 108 kB / 1.884 GB, free: 152.2 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/2.87, allocations: 172 kB / 1.884 GB, free: 152 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01553/2.886, allocations: 3.343 MB / 1.887 GB, free: 148.7 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000347/2.886, allocations: 240.6 kB / 1.887 GB, free: 148.5 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01897/2.905, allocations: 2.043 MB / 1.889 GB, free: 146.4 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002927/2.908, allocations: 0.6403 MB / 1.89 GB, free: 145.8 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02688/2.935, allocations: 14.41 MB / 1.904 GB, free: 131.3 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01738/2.952, allocations: 10.93 MB / 1.915 GB, free: 118.9 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0322/2.984, allocations: 18.97 MB / 1.933 GB, free: 98.36 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001071/2.985, allocations: 28 kB / 1.933 GB, free: 98.34 MB / 1.311 GB Notification: Performance of matching and sorting (n=1696) (initialization_lambda0): time 0.04545/3.03, allocations: 20.36 MB / 1.953 GB, free: 77.9 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 9.129e-05/3.03, allocations: 55.94 kB / 1.953 GB, free: 77.84 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001387/3.03, allocations: 108 kB / 1.953 GB, free: 77.74 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/3.03, allocations: 187.8 kB / 1.953 GB, free: 77.56 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01531/3.046, allocations: 3.339 MB / 1.957 GB, free: 74.21 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002657/3.046, allocations: 243.2 kB / 1.957 GB, free: 73.98 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01767/3.064, allocations: 1.64 MB / 1.958 GB, free: 72.33 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002495/3.066, allocations: 0.6364 MB / 1.959 GB, free: 71.69 MB / 1.311 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.004381/3.071, allocations: 1.036 MB / 1.96 GB, free: 70.64 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005987/3.077, allocations: 1.729 MB / 1.962 GB, free: 68.89 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03694/3.114, allocations: 17.21 MB / 1.979 GB, free: 51.59 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02623/3.14, allocations: 13.68 MB / 1.992 GB, free: 37.82 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/3.14, allocations: 0 / 1.992 GB, free: 37.82 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01037/3.15, allocations: 4.238 MB / 1.996 GB, free: 33.54 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005003/3.155, allocations: 239.8 kB / 1.996 GB, free: 33.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01554/3.171, allocations: 0.9558 MB / 1.997 GB, free: 32.35 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001736/3.173, allocations: 0.6167 MB / 1.998 GB, free: 31.73 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03763/3.21, allocations: 16.8 MB / 2.014 GB, free: 14.84 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04934/3.26, allocations: 26.61 MB / 2.04 GB, free: 4.07 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0148/3.274, allocations: 7.664 MB / 2.048 GB, free: 12.38 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.02571/3.3, allocations: 13.44 MB / 2.061 GB, free: 15 MB / 1.358 GB Notification: Performance of Backend: time 9.92e-07/3.3, allocations: 0 / 2.061 GB, free: 15 MB / 1.358 GB Notification: Performance of simCode: created initialization part: time 0.05806/3.358, allocations: 22.03 MB / 2.082 GB, free: 9.488 MB / 1.373 GB Notification: Performance of SimCode: time 1.011/4.37, allocations: 50.95 MB / 2.132 GB, free: 440.5 MB / 1.389 GB Notification: Performance of Templates: time 0.5679/4.938, allocations: 473.2 MB / 2.594 GB, free: 30.62 MB / 1.389 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches