Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.Examples.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 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.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 115.1 kB / 16.42 MB, free: 6.031 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.001362/0.001362, allocations: 187.8 kB / 17.35 MB, free: 5.602 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.316/1.316, 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.461/2.461, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001408, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7294/0.7308, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.06008/0.7909, allocations: 57.4 MB / 1.223 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1765/0.9675, allocations: 159.7 MB / 1.379 GB, free: 9.898 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002661/0.9702, allocations: 63.69 kB / 1.379 GB, free: 9.836 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00232/0.9725, allocations: 0.7169 MB / 1.38 GB, free: 9.113 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00912/0.9817, allocations: 3.219 MB / 1.383 GB, free: 5.887 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006412/0.9881, allocations: 2.555 MB / 1.386 GB, free: 3.344 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01498/1.003, allocations: 13.77 MB / 1.399 GB, free: 5.535 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009066/1.012, allocations: 6.788 MB / 1.406 GB, free: 14.64 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01346/1.026, allocations: 7.702 MB / 1.413 GB, free: 6.945 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006059/1.032, allocations: 4.054 MB / 1.417 GB, free: 2.875 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002046/1.034, allocations: 0.6992 MB / 1.418 GB, free: 2.176 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00864/1.042, allocations: 4.272 MB / 1.422 GB, free: 13.9 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002305/1.045, allocations: 1.675 MB / 1.424 GB, free: 12.22 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005254/1.05, allocations: 3.345 MB / 1.427 GB, free: 8.859 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/1.063, allocations: 10.3 MB / 1.437 GB, free: 14.53 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.063, allocations: 0 / 1.437 GB, free: 14.53 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.543e-06/1.063, allocations: 0 / 1.437 GB, free: 14.53 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002573/1.064, allocations: 0 / 1.437 GB, free: 14.53 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1078 * Number of variables: 1078 Notification: Performance of Generate backend data structure: time 0.01698/1.081, allocations: 6.706 MB / 1.444 GB, free: 7.723 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.081, allocations: 8.031 kB / 1.444 GB, free: 7.715 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/1.094, allocations: 1.791 MB / 1.445 GB, free: 5.918 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/1.105, allocations: 5.182 MB / 1.45 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/1.106, allocations: 312.2 kB / 1.451 GB, free: 372 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/1.107, allocations: 412 kB / 1.451 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/1.12, allocations: 6.077 MB / 1.457 GB, free: 9.676 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-05/1.12, allocations: 7.938 kB / 1.457 GB, free: 9.668 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006428/1.121, allocations: 179.9 kB / 1.457 GB, free: 9.492 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/1.121, allocations: 172 kB / 1.457 GB, free: 9.32 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/1.134, allocations: 5.796 MB / 1.463 GB, free: 3.504 MB / 1.186 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.03457/1.169, allocations: 22.01 MB / 1.485 GB, free: 12.59 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008847/1.177, allocations: 4.003 MB / 1.488 GB, free: 8.59 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004482/1.182, allocations: 1.987 MB / 1.49 GB, free: 6.598 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002837/1.185, allocations: 2.549 MB / 1.493 GB, free: 3.512 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005399/1.19, allocations: 2.293 MB / 1.495 GB, free: 1.172 MB / 1.217 GB Notification: Performance of pre-optimization done (n=300): time 6.813e-06/1.19, allocations: 4 kB / 1.495 GB, free: 1.168 MB / 1.217 GB Notification: Performance of matching and sorting (n=300): time 0.01878/1.209, allocations: 7.143 MB / 1.502 GB, free: 9.762 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/1.209, allocations: 244 kB / 1.502 GB, free: 9.473 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006202/1.215, allocations: 3.872 MB / 1.506 GB, free: 5.574 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003685/1.216, allocations: 85.64 kB / 1.506 GB, free: 5.484 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.218, allocations: 2.114 MB / 1.508 GB, free: 3.355 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/1.219, allocations: 1.061 MB / 1.509 GB, free: 2.285 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001224/1.22, allocations: 0.6554 MB / 1.51 GB, free: 1.621 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/1.22, allocations: 309.1 kB / 1.51 GB, free: 1.316 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/1.224, allocations: 1.73 MB / 1.512 GB, free: 15.57 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004412/1.229, allocations: 2.343 MB / 1.514 GB, free: 13.01 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008245/1.237, allocations: 4.12 MB / 1.518 GB, free: 8.656 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.237, allocations: 4 kB / 1.518 GB, free: 8.652 MB / 1.248 GB Notification: Performance of matching and sorting (n=410) (initialization): time 0.01101/1.248, allocations: 4.772 MB / 1.523 GB, free: 3.84 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/1.248, allocations: 12 kB / 1.523 GB, free: 3.828 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/1.248, allocations: 16 kB / 1.523 GB, free: 3.812 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006691/1.249, allocations: 113.2 kB / 1.523 GB, free: 3.699 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004233/1.253, allocations: 0.823 MB / 1.524 GB, free: 2.875 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/1.255, allocations: 2.277 MB / 1.526 GB, free: 440 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/1.26, allocations: 495.5 kB / 1.527 GB, free: 15.94 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004656/1.261, allocations: 163.9 kB / 1.527 GB, free: 15.78 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006627/1.267, allocations: 3.075 MB / 1.53 GB, free: 12.7 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004606/1.272, allocations: 2.343 MB / 1.532 GB, free: 10.13 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008552/1.28, allocations: 4.127 MB / 1.536 GB, free: 5.77 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.4e-05/1.28, allocations: 4 kB / 1.536 GB, free: 5.766 MB / 1.264 GB Notification: Performance of matching and sorting (n=410) (initialization_lambda0): time 0.01143/1.292, allocations: 4.761 MB / 1.541 GB, free: 0.9648 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.292, allocations: 11.75 kB / 1.541 GB, free: 0.957 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/1.292, allocations: 20 kB / 1.541 GB, free: 0.9375 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/1.293, allocations: 112.8 kB / 1.541 GB, free: 0.8242 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004187/1.297, allocations: 0.8151 MB / 1.542 GB, free: 8 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/1.299, allocations: 1.67 MB / 1.543 GB, free: 14.19 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/1.304, allocations: 422 kB / 1.544 GB, free: 13.78 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005349/1.304, allocations: 175.8 kB / 1.544 GB, free: 13.61 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (408): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0009515/1.305, allocations: 382 kB / 1.544 GB, free: 13.22 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.307, allocations: 429.3 kB / 1.545 GB, free: 12.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/1.321, allocations: 5.334 MB / 1.55 GB, free: 7.387 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01061/1.331, allocations: 4.277 MB / 1.554 GB, free: 2.996 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.331, allocations: 0 / 1.554 GB, free: 2.996 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002569/1.334, allocations: 1.091 MB / 1.555 GB, free: 1.883 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001218/1.335, allocations: 67.98 kB / 1.555 GB, free: 1.816 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003877/1.339, allocations: 247.6 kB / 1.555 GB, free: 1.574 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005191/1.34, allocations: 238.1 kB / 1.556 GB, free: 1.34 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.5815/1.921, allocations: 4.9 MB / 1.56 GB, free: 373.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01283/1.934, allocations: 6.685 MB / 1.567 GB, free: 371 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00352/1.938, allocations: 1.984 MB / 1.569 GB, free: 370.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003696/1.941, allocations: 2.725 MB / 1.572 GB, free: 369.3 MB / 1.279 GB Notification: Performance of Backend: time 5.91e-07/1.941, allocations: 0 / 1.572 GB, free: 369.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01422/1.955, allocations: 6.421 MB / 1.578 GB, free: 367.3 MB / 1.279 GB Notification: Performance of SimCode: time 0.01699/1.972, allocations: 11.17 MB / 1.589 GB, free: 359.1 MB / 1.279 GB Notification: Performance of Templates: time 0.1354/2.108, allocations: 114.9 MB / 1.701 GB, free: 245.8 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches