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.001666/0.001666, allocations: 110.6 kB / 16.42 MB, free: 6.523 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.001772/0.001772, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.364/1.364, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.479/2.479, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7024, allocations: 151.6 MB / 1.167 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.06083/0.7633, allocations: 57.63 MB / 1.224 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1744/0.9377, allocations: 168.4 MB / 1.388 GB, free: 1.129 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003635/0.9414, allocations: 91.5 kB / 1.388 GB, free: 1.039 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.9447, allocations: 1.225 MB / 1.389 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008816/0.9535, allocations: 3.308 MB / 1.393 GB, free: 12.48 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.007514/0.961, allocations: 2.866 MB / 1.395 GB, free: 9.637 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.06385/1.025, allocations: 68.57 MB / 1.462 GB, free: 4.898 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04659/1.072, allocations: 32.71 MB / 1.494 GB, free: 4 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0423/1.114, allocations: 22.57 MB / 1.516 GB, free: 13.55 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03191/1.146, allocations: 19.33 MB / 1.535 GB, free: 10.14 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.009767/1.156, allocations: 2.965 MB / 1.538 GB, free: 7.176 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01826/1.174, allocations: 4.642 MB / 1.543 GB, free: 2.531 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.014/1.188, allocations: 7.393 MB / 1.55 GB, free: 11.12 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 1.181/2.369, allocations: 14.86 MB / 1.564 GB, free: 80.45 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.04722/2.416, allocations: 42.1 MB / 1.605 GB, free: 78.39 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/2.416, allocations: 3.5 kB / 1.605 GB, free: 78.39 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.004e-06/2.416, allocations: 0 / 1.605 GB, free: 78.39 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001462/2.418, allocations: 2.344 kB / 1.605 GB, free: 78.39 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.06836/2.486, allocations: 28.2 MB / 1.633 GB, free: 68.55 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/2.486, allocations: 13.64 kB / 1.633 GB, free: 68.55 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02622/2.512, allocations: 4.413 MB / 1.637 GB, free: 67.14 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05324/2.566, allocations: 25.22 MB / 1.662 GB, free: 63.88 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/2.567, allocations: 1.293 MB / 1.663 GB, free: 63.85 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006815/2.574, allocations: 1.742 MB / 1.665 GB, free: 63.83 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06377/2.637, allocations: 28.03 MB / 1.692 GB, free: 56.25 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006861/2.638, allocations: 78.5 kB / 1.692 GB, free: 56.23 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00561/2.644, allocations: 0.7459 MB / 1.693 GB, free: 56.23 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000736/2.644, allocations: 0.8952 MB / 1.694 GB, free: 56.12 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05366/2.698, allocations: 24.74 MB / 1.718 GB, free: 44.42 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.1702/2.868, allocations: 105 MB / 1.821 GB, free: 9.043 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03335/2.902, allocations: 16.32 MB / 1.837 GB, free: 8.91 MB / 1.358 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01884/2.921, allocations: 8.823 MB / 1.845 GB, free: 48 kB / 1.358 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003075/2.924, allocations: 2.071 MB / 1.847 GB, free: 13.65 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02061/2.944, allocations: 8.518 MB / 1.856 GB, free: 5.07 MB / 1.373 GB Notification: Performance of pre-optimization done (n=1058): time 1.618e-05/2.944, allocations: 2.25 kB / 1.856 GB, free: 5.07 MB / 1.373 GB Notification: Performance of matching and sorting (n=1058): time 0.05487/2.999, allocations: 21.36 MB / 1.876 GB, free: 15.62 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/3, allocations: 365.3 kB / 1.877 GB, free: 15.2 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03918/3.039, allocations: 19 MB / 1.895 GB, free: 12.27 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.002952/3.042, allocations: 249.7 kB / 1.896 GB, free: 12.02 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.01422/3.056, allocations: 10.2 MB / 1.906 GB, free: 1.809 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.006495/3.063, allocations: 3.859 MB / 1.909 GB, free: 14 MB / 1.436 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009286/3.072, allocations: 2.685 MB / 1.912 GB, free: 11.3 MB / 1.436 GB Notification: Performance of setup shared object (initialization): time 0.0001167/3.072, allocations: 305.1 kB / 1.912 GB, free: 11 MB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01608/3.088, allocations: 7.332 MB / 1.919 GB, free: 3.652 MB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01874/3.107, allocations: 10.92 MB / 1.93 GB, free: 7.266 MB / 1.451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03768/3.145, allocations: 18.97 MB / 1.949 GB, free: 3.184 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/3.145, allocations: 28 kB / 1.949 GB, free: 3.156 MB / 1.467 GB Notification: Performance of matching and sorting (n=1696) (initialization): time 0.05621/3.201, allocations: 20.43 MB / 1.969 GB, free: 15.29 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/3.201, allocations: 48 kB / 1.969 GB, free: 15.25 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/3.201, allocations: 112.1 kB / 1.969 GB, free: 15.14 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/3.201, allocations: 176 kB / 1.969 GB, free: 14.96 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01682/3.218, allocations: 3.339 MB / 1.972 GB, free: 11.82 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003162/3.219, allocations: 242.9 kB / 1.972 GB, free: 11.63 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01945/3.238, allocations: 2.074 MB / 1.974 GB, free: 9.547 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002972/3.241, allocations: 0.6404 MB / 1.975 GB, free: 8.906 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03192/3.273, allocations: 14.4 MB / 1.989 GB, free: 10.49 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02097/3.294, allocations: 10.93 MB / 2 GB, free: 14.09 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03932/3.333, allocations: 18.96 MB / 2.018 GB, free: 10.02 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001007/3.333, allocations: 35.75 kB / 2.018 GB, free: 9.992 MB / 1.545 GB Notification: Performance of matching and sorting (n=1696) (initialization_lambda0): time 0.05399/3.387, allocations: 20.42 MB / 2.038 GB, free: 6.137 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/3.388, allocations: 50.69 kB / 2.038 GB, free: 6.09 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/3.388, allocations: 112 kB / 2.038 GB, free: 5.98 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/3.388, allocations: 172 kB / 2.039 GB, free: 5.812 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01693/3.405, allocations: 3.345 MB / 2.042 GB, free: 2.664 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003323/3.405, allocations: 235.7 kB / 2.042 GB, free: 2.477 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01985/3.425, allocations: 1.672 MB / 2.044 GB, free: 0.7969 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003256/3.429, allocations: 0.6404 MB / 2.044 GB, free: 160 kB / 1.561 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.005622/3.434, allocations: 1.029 MB / 2.045 GB, free: 15.32 MB / 1.576 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007607/3.442, allocations: 1.825 MB / 2.047 GB, free: 13.48 MB / 1.576 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0471/3.489, allocations: 17.19 MB / 2.064 GB, free: 12.19 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03493/3.524, allocations: 13.64 MB / 2.077 GB, free: 14.48 MB / 1.608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/3.524, allocations: 0 / 2.077 GB, free: 14.48 MB / 1.608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01349/3.537, allocations: 4.329 MB / 2.081 GB, free: 10.12 MB / 1.608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006791/3.544, allocations: 243.8 kB / 2.082 GB, free: 9.879 MB / 1.608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01675/3.561, allocations: 0.9536 MB / 2.083 GB, free: 8.934 MB / 1.608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002474/3.564, allocations: 0.6012 MB / 2.083 GB, free: 8.328 MB / 1.608 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04599/3.61, allocations: 16.81 MB / 2.1 GB, free: 7.594 MB / 1.623 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0634/3.673, allocations: 26.68 MB / 2.126 GB, free: 12.77 MB / 1.654 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01569/3.689, allocations: 7.664 MB / 2.133 GB, free: 5.066 MB / 1.654 GB Notification: Performance of sorting global known variables: time 0.02749/3.716, allocations: 13.45 MB / 2.146 GB, free: 7.688 MB / 1.67 GB Notification: Performance of Backend: time 2.635e-06/3.716, allocations: 0 / 2.146 GB, free: 7.688 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.6131/4.329, allocations: 22.04 MB / 2.168 GB, free: 0.6949 GB / 1.67 GB Notification: Performance of SimCode: time 0.1088/4.438, allocations: 51.67 MB / 2.218 GB, free: 0.6751 GB / 1.67 GB Notification: Performance of Templates: time 0.6367/5.075, allocations: 474.8 MB / 2.682 GB, free: 230.5 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