Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 116.3 kB / 16.42 MB, free: 6.504 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.001608/0.001608, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.435/2.435, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.741, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.05874/0.7998, allocations: 65.2 MB / 1.231 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1785/0.9783, allocations: 168.9 MB / 1.396 GB, free: 8.969 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004436/0.9827, allocations: 91.5 kB / 1.396 GB, free: 8.879 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003301/0.9861, allocations: 1.229 MB / 1.397 GB, free: 7.641 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00906/0.9952, allocations: 3.312 MB / 1.4 GB, free: 4.316 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.007491/1.003, allocations: 3.231 MB / 1.404 GB, free: 1.102 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.03838/1.041, allocations: 43.75 MB / 1.446 GB, free: 5.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02612/1.067, allocations: 21.68 MB / 1.467 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02518/1.092, allocations: 14.8 MB / 1.482 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02045/1.113, allocations: 12.6 MB / 1.494 GB, free: 4.023 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.006125/1.119, allocations: 1.992 MB / 1.496 GB, free: 2.031 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/1.132, allocations: 3.697 MB / 1.5 GB, free: 14.33 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.008773/1.141, allocations: 4.876 MB / 1.505 GB, free: 9.441 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.01866/1.16, allocations: 9.853 MB / 1.514 GB, free: 15.54 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.03751/1.197, allocations: 28.01 MB / 1.541 GB, free: 3.449 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.197, allocations: 0 / 1.541 GB, free: 3.449 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.954e-06/1.197, allocations: 0 / 1.541 GB, free: 3.449 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0009044/1.198, allocations: 0 / 1.541 GB, free: 3.449 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3132 * Number of variables: 3132 Notification: Performance of Generate backend data structure: time 0.0486/1.247, allocations: 18.77 MB / 1.56 GB, free: 0.5156 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.656e-05/1.247, allocations: 8.922 kB / 1.56 GB, free: 0.5078 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.181/2.428, allocations: 3.446 MB / 1.563 GB, free: 364.2 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03465/2.463, allocations: 16.05 MB / 1.579 GB, free: 357.6 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008983/2.463, allocations: 0.8743 MB / 1.58 GB, free: 357.2 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00483/2.468, allocations: 1.176 MB / 1.581 GB, free: 356.8 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04478/2.513, allocations: 18.41 MB / 1.599 GB, free: 339 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003628/2.513, allocations: 39.75 kB / 1.599 GB, free: 338.9 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003394/2.517, allocations: 0.4993 MB / 1.599 GB, free: 338.4 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003984/2.517, allocations: 0.5886 MB / 1.6 GB, free: 337.8 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03602/2.553, allocations: 16.49 MB / 1.616 GB, free: 321.3 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.09576/2.649, allocations: 67.79 MB / 1.682 GB, free: 251.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01929/2.668, allocations: 10.65 MB / 1.693 GB, free: 241.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0113/2.68, allocations: 5.834 MB / 1.698 GB, free: 235.3 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002479/2.682, allocations: 2.428 MB / 1.701 GB, free: 232.4 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01197/2.694, allocations: 6.101 MB / 1.707 GB, free: 226.3 MB / 1.279 GB Notification: Performance of pre-optimization done (n=729): time 1.09e-05/2.694, allocations: 0 / 1.707 GB, free: 226.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=729): time 0.03378/2.728, allocations: 14.68 MB / 1.721 GB, free: 211.5 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/2.728, allocations: 305 kB / 1.721 GB, free: 211.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01935/2.748, allocations: 12.24 MB / 1.733 GB, free: 199 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.002055/2.75, allocations: 173.7 kB / 1.733 GB, free: 198.9 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.006576/2.756, allocations: 6.647 MB / 1.74 GB, free: 192.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.004107/2.76, allocations: 2.642 MB / 1.742 GB, free: 190.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002929/2.763, allocations: 1.798 MB / 1.744 GB, free: 188.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/2.763, allocations: 309.1 kB / 1.745 GB, free: 188 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009638/2.773, allocations: 4.896 MB / 1.749 GB, free: 183 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/2.785, allocations: 7.147 MB / 1.756 GB, free: 174.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02275/2.808, allocations: 12.42 MB / 1.768 GB, free: 161.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.737e-05/2.808, allocations: 24 kB / 1.768 GB, free: 161.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=1136) (initialization): time 0.03348/2.842, allocations: 13.62 MB / 1.782 GB, free: 147.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.673e-05/2.842, allocations: 32 kB / 1.782 GB, free: 147.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.076e-05/2.842, allocations: 64 kB / 1.782 GB, free: 147.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007159/2.843, allocations: 189.4 kB / 1.782 GB, free: 147.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01087/2.853, allocations: 2.254 MB / 1.784 GB, free: 145.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/2.856, allocations: 1.789 MB / 1.786 GB, free: 143.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01327/2.869, allocations: 1.394 MB / 1.787 GB, free: 142 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002261/2.871, allocations: 435.8 kB / 1.788 GB, free: 141.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01886/2.89, allocations: 9.343 MB / 1.797 GB, free: 132.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01252/2.903, allocations: 7.143 MB / 1.804 GB, free: 124.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02273/2.925, allocations: 12.41 MB / 1.816 GB, free: 110.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.545e-05/2.925, allocations: 16 kB / 1.816 GB, free: 110.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=1136) (initialization_lambda0): time 0.03438/2.96, allocations: 13.62 MB / 1.829 GB, free: 97.13 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-05/2.96, allocations: 32 kB / 1.829 GB, free: 97.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.625e-05/2.96, allocations: 67.05 kB / 1.829 GB, free: 97.04 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006578/2.961, allocations: 188.8 kB / 1.83 GB, free: 96.85 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/2.972, allocations: 2.25 MB / 1.832 GB, free: 94.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/2.974, allocations: 1.802 MB / 1.834 GB, free: 92.65 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01314/2.987, allocations: 1.124 MB / 1.835 GB, free: 91.52 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002425/2.989, allocations: 439.8 kB / 1.835 GB, free: 91.09 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * Number of states: 0 () * Number of discrete variables: 29 (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,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 (1134): * Single equations (assignments): 1133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003981/2.993, allocations: 0.7319 MB / 1.836 GB, free: 90.35 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005032/2.998, allocations: 1.207 MB / 1.837 GB, free: 89.13 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0325/3.031, allocations: 12.6 MB / 1.849 GB, free: 76.45 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02368/3.054, allocations: 9.673 MB / 1.859 GB, free: 66.66 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/3.054, allocations: 4 kB / 1.859 GB, free: 66.66 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008324/3.063, allocations: 2.908 MB / 1.862 GB, free: 63.72 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004615/3.067, allocations: 167.9 kB / 1.862 GB, free: 63.56 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01141/3.079, allocations: 0.6588 MB / 1.862 GB, free: 62.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001765/3.081, allocations: 453.2 kB / 1.863 GB, free: 62.46 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03001/3.111, allocations: 11.54 MB / 1.874 GB, free: 50.86 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03685/3.148, allocations: 18.15 MB / 1.892 GB, free: 32.61 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009568/3.157, allocations: 5.239 MB / 1.897 GB, free: 27.35 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01463/3.172, allocations: 8.635 MB / 1.905 GB, free: 18.75 MB / 1.279 GB Notification: Performance of Backend: time 9.82e-07/3.172, allocations: 0 / 1.905 GB, free: 18.75 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0408/3.213, allocations: 15.21 MB / 1.92 GB, free: 3.758 MB / 1.279 GB Notification: Performance of SimCode: time 0.07381/3.287, allocations: 33.39 MB / 1.953 GB, free: 2.473 MB / 1.311 GB Notification: Performance of Templates: time 1.492/4.779, allocations: 316 MB / 2.261 GB, free: 399.5 MB / 1.467 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches