Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00143/0.00143, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001556/0.001556, 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.348/1.348, 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 10.1.1-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 64.14 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.76, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.1092/0.8692, allocations: 108.9 MB / 1.274 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2177/1.087, allocations: 184.8 MB / 1.454 GB, free: 13.21 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008778/1.096, allocations: 167.1 kB / 1.454 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.01041/1.106, allocations: 3.097 MB / 1.457 GB, free: 9.93 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01933/1.126, allocations: 5.774 MB / 1.463 GB, free: 4.133 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01374/1.139, allocations: 5.21 MB / 1.468 GB, free: 14.94 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.04935/1.189, allocations: 32.58 MB / 1.5 GB, free: 14.28 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02556/1.214, allocations: 14.86 MB / 1.514 GB, free: 15.28 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02285/1.237, allocations: 10.66 MB / 1.525 GB, free: 4.641 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01565/1.253, allocations: 9.12 MB / 1.534 GB, free: 11.48 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.005848/1.259, allocations: 1.59 MB / 1.535 GB, free: 9.895 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01494/1.274, allocations: 4.733 MB / 1.54 GB, free: 5.156 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.00733/1.281, allocations: 3.833 MB / 1.544 GB, free: 1.312 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0164/1.298, allocations: 7.569 MB / 1.551 GB, free: 9.711 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 1.393/2.69, allocations: 22.47 MB / 1.573 GB, free: 71.6 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/2.69, allocations: 0 / 1.573 GB, free: 71.6 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.074e-06/2.69, allocations: 0 / 1.573 GB, free: 71.6 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0008897/2.691, allocations: 0 / 1.573 GB, free: 71.6 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.04718/2.738, allocations: 14.14 MB / 1.587 GB, free: 66.48 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/2.738, allocations: 9.938 kB / 1.587 GB, free: 66.48 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02113/2.76, allocations: 3.031 MB / 1.59 GB, free: 65.82 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02602/2.786, allocations: 11.57 MB / 1.601 GB, free: 64.28 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006682/2.786, allocations: 0.6837 MB / 1.602 GB, free: 64.26 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004199/2.791, allocations: 0.9031 MB / 1.602 GB, free: 64.25 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03924/2.83, allocations: 13.28 MB / 1.615 GB, free: 63.13 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004923/2.83, allocations: 25.09 kB / 1.615 GB, free: 63.12 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00374/2.834, allocations: 380.2 kB / 1.616 GB, free: 63.12 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003443/2.834, allocations: 377.3 kB / 1.616 GB, free: 63.11 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03297/2.867, allocations: 12.51 MB / 1.628 GB, free: 63.03 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.08946/2.957, allocations: 52.05 MB / 1.679 GB, free: 41.66 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01775/2.975, allocations: 8.725 MB / 1.688 GB, free: 40.12 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009587/2.984, allocations: 4.691 MB / 1.692 GB, free: 38.94 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 evalFunc (simulation): time 0.04397/3.028, allocations: 20.32 MB / 1.712 GB, free: 23.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01047/3.039, allocations: 4.378 MB / 1.716 GB, free: 19.72 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005052/3.044, allocations: 0.5251 MB / 1.717 GB, free: 19.2 MB / 1.279 GB Notification: Performance of pre-optimization done (n=579): time 1.805e-05/3.044, allocations: 0 / 1.717 GB, free: 19.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=579): time 0.03258/3.077, allocations: 11.11 MB / 1.728 GB, free: 7.996 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/3.077, allocations: 277.8 kB / 1.728 GB, free: 7.676 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01742/3.094, allocations: 8.781 MB / 1.737 GB, free: 14.92 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.002092/3.096, allocations: 149.7 kB / 1.737 GB, free: 14.77 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.007241/3.103, allocations: 4.856 MB / 1.742 GB, free: 9.898 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.003861/3.107, allocations: 1.972 MB / 1.743 GB, free: 7.941 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006677/3.114, allocations: 1.543 MB / 1.745 GB, free: 6.395 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001127/3.114, allocations: 303.5 kB / 1.745 GB, free: 6.098 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01064/3.125, allocations: 4.14 MB / 1.749 GB, free: 1.953 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/3.138, allocations: 5.902 MB / 1.755 GB, free: 11.39 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0225/3.16, allocations: 9.936 MB / 1.765 GB, free: 0.9414 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-05/3.16, allocations: 20 kB / 1.765 GB, free: 0.9219 MB / 1.311 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.03437/3.195, allocations: 11.24 MB / 1.776 GB, free: 5.898 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-05/3.195, allocations: 26.66 kB / 1.776 GB, free: 5.875 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.046e-05/3.195, allocations: 48 kB / 1.776 GB, free: 5.828 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/3.195, allocations: 84 kB / 1.776 GB, free: 5.746 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/3.205, allocations: 1.895 MB / 1.778 GB, free: 3.957 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001982/3.206, allocations: 123.4 kB / 1.778 GB, free: 3.859 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/3.217, allocations: 0.5812 MB / 1.778 GB, free: 3.277 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002154/3.219, allocations: 359.8 kB / 1.779 GB, free: 2.926 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01832/3.237, allocations: 7.199 MB / 1.786 GB, free: 11.72 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01269/3.25, allocations: 5.893 MB / 1.792 GB, free: 5.164 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02278/3.273, allocations: 9.918 MB / 1.801 GB, free: 10.73 MB / 1.358 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.437e-05/3.273, allocations: 12 kB / 1.801 GB, free: 10.72 MB / 1.358 GB Notification: Performance of matching and sorting (n=982) (initialization_lambda0): time 0.03361/3.307, allocations: 11.21 MB / 1.812 GB, free: 15.72 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 6.178e-05/3.307, allocations: 24.19 kB / 1.812 GB, free: 15.7 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.684e-05/3.307, allocations: 52 kB / 1.812 GB, free: 15.65 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.964e-05/3.307, allocations: 85.53 kB / 1.812 GB, free: 15.57 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/3.317, allocations: 1.889 MB / 1.814 GB, free: 13.78 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001861/3.318, allocations: 117.7 kB / 1.814 GB, free: 13.69 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/3.329, allocations: 0.5895 MB / 1.815 GB, free: 13.1 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002707/3.332, allocations: 355.8 kB / 1.815 GB, free: 12.75 MB / 1.373 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.004212/3.336, allocations: 0.6308 MB / 1.816 GB, free: 12.22 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004469/3.34, allocations: 0.8566 MB / 1.817 GB, free: 11.35 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03022/3.371, allocations: 9.335 MB / 1.826 GB, free: 1.945 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02262/3.393, allocations: 7.426 MB / 1.833 GB, free: 10.4 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/3.393, allocations: 3.984 kB / 1.833 GB, free: 10.4 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007666/3.401, allocations: 2.016 MB / 1.835 GB, free: 8.355 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004368/3.405, allocations: 139.8 kB / 1.835 GB, free: 8.219 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009791/3.415, allocations: 487.1 kB / 1.836 GB, free: 7.746 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001554/3.417, allocations: 372.3 kB / 1.836 GB, free: 7.379 MB / 1.389 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02727/3.444, allocations: 8.762 MB / 1.845 GB, free: 14.64 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0367/3.481, allocations: 13.91 MB / 1.858 GB, free: 0.5938 MB / 1.404 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009018/3.49, allocations: 4.075 MB / 1.862 GB, free: 12.49 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.0129/3.503, allocations: 6.082 MB / 1.868 GB, free: 6.445 MB / 1.42 GB Notification: Performance of Backend: time 8.62e-07/3.503, allocations: 0 / 1.868 GB, free: 6.445 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.04044/3.543, allocations: 13.18 MB / 1.881 GB, free: 10.01 MB / 1.436 GB Notification: Performance of SimCode: time 0.05602/3.599, allocations: 23.4 MB / 1.904 GB, free: 2.723 MB / 1.451 GB Notification: Performance of Templates: time 0.3468/3.946, allocations: 232.8 MB / 2.131 GB, free: 12.25 MB / 1.686 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches