Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.002377/0.002377, allocations: 189.5 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.37/1.37, 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 11.0.1-master/package.mo): time 2.629/2.629, allocations: 469.4 MB / 0.7428 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.84 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8148, allocations: 159.1 MB / 1.221 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.03985/0.8547, allocations: 32.5 MB / 1.253 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1715/1.026, allocations: 160 MB / 1.409 GB, free: 1.246 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/1.029, allocations: 63.69 kB / 1.409 GB, free: 1.184 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002937/1.032, allocations: 0.7288 MB / 1.41 GB, free: 460 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006464/1.039, allocations: 1.967 MB / 1.412 GB, free: 14.48 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005474/1.044, allocations: 1.983 MB / 1.414 GB, free: 12.51 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0344/1.078, allocations: 35.01 MB / 1.448 GB, free: 9.414 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02368/1.102, allocations: 16.77 MB / 1.464 GB, free: 8.504 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02129/1.123, allocations: 11.52 MB / 1.475 GB, free: 13.04 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0164/1.14, allocations: 9.901 MB / 1.485 GB, free: 3.094 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.004885/1.145, allocations: 1.535 MB / 1.487 GB, free: 1.559 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009761/1.155, allocations: 2.775 MB / 1.489 GB, free: 14.78 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.00674/1.161, allocations: 3.837 MB / 1.493 GB, free: 10.93 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.01475/1.176, allocations: 7.69 MB / 1.5 GB, free: 3.211 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.02733/1.204, allocations: 21.87 MB / 1.522 GB, free: 13.28 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/1.204, allocations: 12 kB / 1.522 GB, free: 13.27 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.306e-06/1.204, allocations: 0 / 1.522 GB, free: 13.27 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0007265/1.204, allocations: 3.938 kB / 1.522 GB, free: 13.26 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2428 * Number of variables: 2428 Notification: Performance of Generate backend data structure: time 0.03926/1.244, allocations: 14.38 MB / 1.536 GB, free: 14.75 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.244, allocations: 8.625 kB / 1.536 GB, free: 14.75 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/1.258, allocations: 2.222 MB / 1.538 GB, free: 12.51 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03082/1.288, allocations: 12.89 MB / 1.551 GB, free: 15.53 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007291/1.289, allocations: 0.6701 MB / 1.551 GB, free: 14.86 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003293/1.293, allocations: 0.8982 MB / 1.552 GB, free: 13.96 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.087/2.379, allocations: 14.42 MB / 1.566 GB, free: 313.6 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003344/2.38, allocations: 35.05 kB / 1.566 GB, free: 313.6 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002214/2.382, allocations: 396.9 kB / 1.567 GB, free: 313.6 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007284/2.383, allocations: 477.3 kB / 1.567 GB, free: 313.6 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03018/2.413, allocations: 12.89 MB / 1.58 GB, free: 309.7 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.07081/2.484, allocations: 53.62 MB / 1.632 GB, free: 269.4 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/2.496, allocations: 8.367 MB / 1.64 GB, free: 261.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007075/2.504, allocations: 4.541 MB / 1.645 GB, free: 256.6 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/2.505, allocations: 1.536 MB / 1.646 GB, free: 254.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008195/2.513, allocations: 4.47 MB / 1.651 GB, free: 250.2 MB / 1.279 GB Notification: Performance of pre-optimization done (n=569): time 8.135e-06/2.513, allocations: 0 / 1.651 GB, free: 250.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=569): time 0.02266/2.536, allocations: 11.12 MB / 1.661 GB, free: 239 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/2.536, allocations: 295.8 kB / 1.662 GB, free: 238.7 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01403/2.55, allocations: 9.834 MB / 1.671 GB, free: 228.9 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001328/2.552, allocations: 141.7 kB / 1.671 GB, free: 228.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.004485/2.556, allocations: 5.115 MB / 1.676 GB, free: 223.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002384/2.559, allocations: 1.96 MB / 1.678 GB, free: 221.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002157/2.561, allocations: 1.42 MB / 1.68 GB, free: 220.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.474e-05/2.561, allocations: 305.1 kB / 1.68 GB, free: 219.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00657/2.567, allocations: 3.787 MB / 1.684 GB, free: 216.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007671/2.575, allocations: 5.634 MB / 1.689 GB, free: 209.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/2.59, allocations: 9.772 MB / 1.699 GB, free: 199.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-05/2.59, allocations: 16 kB / 1.699 GB, free: 199.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02075/2.611, allocations: 10.55 MB / 1.709 GB, free: 188.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/2.611, allocations: 28 kB / 1.709 GB, free: 188.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-05/2.611, allocations: 56 kB / 1.709 GB, free: 188.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.161e-05/2.611, allocations: 88 kB / 1.709 GB, free: 188.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007742/2.619, allocations: 1.748 MB / 1.711 GB, free: 186.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001177/2.619, allocations: 131 kB / 1.711 GB, free: 186.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009161/2.628, allocations: 1.058 MB / 1.712 GB, free: 185.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/2.629, allocations: 343.8 kB / 1.712 GB, free: 185.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01199/2.641, allocations: 7.426 MB / 1.72 GB, free: 177.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007841/2.649, allocations: 5.634 MB / 1.725 GB, free: 171.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01497/2.664, allocations: 9.764 MB / 1.735 GB, free: 160.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.666e-05/2.664, allocations: 19.94 kB / 1.735 GB, free: 160.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=896) (initialization_lambda0): time 0.02245/2.686, allocations: 10.55 MB / 1.745 GB, free: 150 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/2.687, allocations: 28 kB / 1.745 GB, free: 150 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-05/2.687, allocations: 57.95 kB / 1.745 GB, free: 149.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.779e-05/2.687, allocations: 88 kB / 1.745 GB, free: 149.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007633/2.694, allocations: 1.748 MB / 1.747 GB, free: 148.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001109/2.694, allocations: 127.6 kB / 1.747 GB, free: 147.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009091/2.704, allocations: 0.8576 MB / 1.748 GB, free: 147.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/2.705, allocations: 343.8 kB / 1.748 GB, free: 146.8 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.datRea.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (896): * Single equations (assignments): 896 * 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.001666/2.706, allocations: 0.6348 MB / 1.749 GB, free: 146.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00259/2.709, allocations: 0.9109 MB / 1.75 GB, free: 145.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01712/2.726, allocations: 9.077 MB / 1.759 GB, free: 136 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01274/2.739, allocations: 7.184 MB / 1.766 GB, free: 128.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/2.739, allocations: 0 / 1.766 GB, free: 128.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005703/2.745, allocations: 2.257 MB / 1.768 GB, free: 126.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002878/2.748, allocations: 127.9 kB / 1.768 GB, free: 126.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008541/2.756, allocations: 0.5132 MB / 1.768 GB, free: 125.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000969/2.757, allocations: 348.1 kB / 1.769 GB, free: 125.5 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01891/2.776, allocations: 8.862 MB / 1.777 GB, free: 116.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02276/2.799, allocations: 14.03 MB / 1.791 GB, free: 102.4 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006279/2.805, allocations: 4.015 MB / 1.795 GB, free: 98.37 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.009915/2.815, allocations: 6.945 MB / 1.802 GB, free: 91.46 MB / 1.279 GB Notification: Performance of Backend: time 9.52e-07/2.815, allocations: 4 kB / 1.802 GB, free: 91.46 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02737/2.842, allocations: 11.96 MB / 1.814 GB, free: 79.97 MB / 1.279 GB Notification: Performance of SimCode: time 0.04565/2.888, allocations: 26.3 MB / 1.839 GB, free: 53.82 MB / 1.279 GB Notification: Performance of Templates: time 0.3501/3.238, allocations: 246.8 MB / 2.08 GB, free: 72 kB / 1.467 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_FlatPlate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches