Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.9..T|tan.vol.1..T|TIn.T|pumCon.on",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.9..T|tan.vol.1..T|TIn.T|pumCon.on",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001951/0.001952, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001984/0.001984, allocations: 183.9 kB / 17.35 MB, free: 5.762 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 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 469.4 MB / 0.7428 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 59.89 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7301, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.1078/0.8379, allocations: 108.8 MB / 1.327 GB, free: 5.133 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1958/1.034, allocations: 184.8 MB / 1.508 GB, free: 11.7 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006893/1.041, allocations: 163.1 kB / 1.508 GB, free: 11.54 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.009058/1.05, allocations: 3.092 MB / 1.511 GB, free: 8.426 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01611/1.066, allocations: 5.773 MB / 1.516 GB, free: 2.633 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01356/1.079, allocations: 5.207 MB / 1.521 GB, free: 13.44 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.04152/1.121, allocations: 32.58 MB / 1.553 GB, free: 12.78 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7757/1.897, allocations: 14.85 MB / 1.568 GB, free: 19.23 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02443/1.921, allocations: 10.65 MB / 1.578 GB, free: 19.23 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01977/1.941, allocations: 9.134 MB / 1.587 GB, free: 17.98 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.006818/1.948, allocations: 1.589 MB / 1.589 GB, free: 17.98 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01609/1.964, allocations: 4.743 MB / 1.593 GB, free: 17.97 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00846/1.972, allocations: 3.832 MB / 1.597 GB, free: 17.51 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01657/1.989, allocations: 7.569 MB / 1.604 GB, free: 15.66 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03278/2.022, allocations: 22.47 MB / 1.626 GB, free: 13.27 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/2.022, allocations: 1.125 kB / 1.626 GB, free: 13.27 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.583e-06/2.022, allocations: 0 / 1.626 GB, free: 13.27 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0009143/2.023, allocations: 3.562 kB / 1.626 GB, free: 13.27 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: 2332 * Number of variables: 2332 Notification: Performance of Generate backend data structure: time 0.04411/2.067, allocations: 14.14 MB / 1.64 GB, free: 8.117 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/2.067, allocations: 8.562 kB / 1.64 GB, free: 8.117 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02089/2.088, allocations: 3.032 MB / 1.643 GB, free: 7.445 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02782/2.116, allocations: 11.58 MB / 1.654 GB, free: 5.883 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000786/2.117, allocations: 0.6813 MB / 1.655 GB, free: 5.863 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004487/2.121, allocations: 0.9075 MB / 1.656 GB, free: 5.855 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04101/2.162, allocations: 13.27 MB / 1.669 GB, free: 4.738 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006149/2.163, allocations: 29.31 kB / 1.669 GB, free: 4.734 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003987/2.167, allocations: 385.2 kB / 1.669 GB, free: 4.734 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003988/2.167, allocations: 374.1 kB / 1.67 GB, free: 4.715 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0343/2.202, allocations: 12.51 MB / 1.682 GB, free: 4.637 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.1004/2.302, allocations: 52.06 MB / 1.733 GB, free: 1.34 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01947/2.322, allocations: 8.727 MB / 1.741 GB, free: 9.406 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01066/2.332, allocations: 4.696 MB / 1.746 GB, free: 4.688 MB / 1.326 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 evalFunc (simulation): time 0.04647/2.379, allocations: 20.32 MB / 1.766 GB, free: 15.84 MB / 1.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01109/2.39, allocations: 4.377 MB / 1.77 GB, free: 11.41 MB / 1.357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00461/2.394, allocations: 0.5213 MB / 1.771 GB, free: 10.88 MB / 1.357 GB Notification: Performance of pre-optimization done (n=579): time 1.714e-05/2.395, allocations: 0 / 1.771 GB, free: 10.88 MB / 1.357 GB Notification: Performance of matching and sorting (n=579): time 0.03052/2.425, allocations: 11.1 MB / 1.781 GB, free: 15.68 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/2.425, allocations: 270.2 kB / 1.782 GB, free: 15.37 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02016/2.445, allocations: 8.788 MB / 1.79 GB, free: 6.605 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.001971/2.447, allocations: 149.7 kB / 1.79 GB, free: 6.453 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.007037/2.454, allocations: 4.852 MB / 1.795 GB, free: 1.586 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.00346/2.458, allocations: 1.976 MB / 1.797 GB, free: 15.62 MB / 1.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005894/2.464, allocations: 1.544 MB / 1.799 GB, free: 14.07 MB / 1.389 GB Notification: Performance of setup shared object (initialization): time 8.756e-05/2.464, allocations: 305.1 kB / 1.799 GB, free: 13.77 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01017/2.474, allocations: 4.132 MB / 1.803 GB, free: 9.637 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01291/2.487, allocations: 5.903 MB / 1.809 GB, free: 3.078 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02234/2.509, allocations: 9.942 MB / 1.818 GB, free: 8.621 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.944e-05/2.51, allocations: 16 kB / 1.818 GB, free: 8.605 MB / 1.404 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.03053/2.54, allocations: 11.24 MB / 1.829 GB, free: 13.58 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 7.435e-05/2.54, allocations: 24 kB / 1.829 GB, free: 13.56 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-05/2.54, allocations: 51.98 kB / 1.829 GB, free: 13.51 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001125/2.54, allocations: 88 kB / 1.829 GB, free: 13.42 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009809/2.55, allocations: 1.896 MB / 1.831 GB, free: 11.63 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001828/2.55, allocations: 119.1 kB / 1.831 GB, free: 11.54 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/2.561, allocations: 0.5828 MB / 1.832 GB, free: 10.95 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/2.563, allocations: 363.3 kB / 1.832 GB, free: 10.6 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02024/2.583, allocations: 7.2 MB / 1.839 GB, free: 3.395 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01338/2.596, allocations: 5.887 MB / 1.845 GB, free: 12.85 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02282/2.619, allocations: 9.92 MB / 1.855 GB, free: 2.402 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.517e-05/2.619, allocations: 12 kB / 1.855 GB, free: 2.391 MB / 1.436 GB Notification: Performance of matching and sorting (n=982) (initialization_lambda0): time 0.03199/2.651, allocations: 11.22 MB / 1.866 GB, free: 7.383 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/2.651, allocations: 24 kB / 1.866 GB, free: 7.359 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.675e-05/2.652, allocations: 48 kB / 1.866 GB, free: 7.312 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.627e-05/2.652, allocations: 91.92 kB / 1.866 GB, free: 7.223 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009937/2.662, allocations: 1.886 MB / 1.868 GB, free: 5.441 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001822/2.662, allocations: 111.8 kB / 1.868 GB, free: 5.352 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/2.672, allocations: 0.5967 MB / 1.868 GB, free: 4.754 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/2.674, allocations: 358.2 kB / 1.869 GB, free: 4.406 MB / 1.451 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 31 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.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 (949): * Single equations (assignments): 947 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.003535/2.678, allocations: 0.6246 MB / 1.869 GB, free: 3.887 MB / 1.451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004154/2.682, allocations: 0.8605 MB / 1.87 GB, free: 3.016 MB / 1.451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02984/2.712, allocations: 9.328 MB / 1.879 GB, free: 9.609 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0212/2.733, allocations: 7.433 MB / 1.887 GB, free: 2.062 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.402e-05/2.733, allocations: 0 / 1.887 GB, free: 2.062 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007425/2.741, allocations: 2.02 MB / 1.889 GB, free: 12 kB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004079/2.745, allocations: 137.5 kB / 1.889 GB, free: 15.88 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01022/2.755, allocations: 488.9 kB / 1.889 GB, free: 15.41 MB / 1.482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0018/2.757, allocations: 372.3 kB / 1.89 GB, free: 15.04 MB / 1.482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03027/2.787, allocations: 8.76 MB / 1.898 GB, free: 6.305 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04089/2.828, allocations: 13.91 MB / 1.912 GB, free: 8.266 MB / 1.498 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00962/2.838, allocations: 4.075 MB / 1.916 GB, free: 4.164 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.01495/2.853, allocations: 6.086 MB / 1.922 GB, free: 14.11 MB / 1.514 GB Notification: Performance of Backend: time 2.685e-06/2.853, allocations: 0 / 1.922 GB, free: 14.11 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.0424/2.895, allocations: 13.17 MB / 1.934 GB, free: 1.68 MB / 1.514 GB Notification: Performance of SimCode: time 0.06202/2.957, allocations: 23.41 MB / 1.957 GB, free: 10.42 MB / 1.545 GB Notification: Performance of Templates: time 0.3699/3.327, allocations: 232.8 MB / 2.185 GB, free: 3.91 MB / 1.764 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches