Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Validation.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_9_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_9_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.001979/0.001979, allocations: 109.5 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.0023/0.0023, allocations: 187.9 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.312/1.312, 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 9.1.3-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.3 MB / 0.6655 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 75.89 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6565/0.6578, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.03548/0.6933, allocations: 31.04 MB / 1.119 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1859/0.8792, allocations: 159.9 MB / 1.275 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.8823, allocations: 55.69 kB / 1.275 GB, free: 14.72 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.8848, allocations: 0.6764 MB / 1.276 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006182/0.8911, allocations: 1.853 MB / 1.278 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005751/0.8968, allocations: 1.96 MB / 1.279 GB, free: 10.24 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0319/0.9287, allocations: 34.75 MB / 1.313 GB, free: 7.398 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02201/0.9508, allocations: 16.82 MB / 1.33 GB, free: 6.441 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01932/0.9701, allocations: 11.5 MB / 1.341 GB, free: 11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01436/0.9845, allocations: 9.866 MB / 1.351 GB, free: 1.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.004178/0.9887, allocations: 1.531 MB / 1.352 GB, free: 15.55 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009313/0.9981, allocations: 2.783 MB / 1.355 GB, free: 12.77 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00614/1.004, allocations: 3.833 MB / 1.359 GB, free: 8.93 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01392/1.018, allocations: 7.643 MB / 1.366 GB, free: 1.254 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02445/1.043, allocations: 21.81 MB / 1.387 GB, free: 11.39 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.043, allocations: 0 / 1.387 GB, free: 11.39 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.577e-06/1.043, allocations: 0 / 1.387 GB, free: 11.39 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0006259/1.043, allocations: 3.938 kB / 1.387 GB, free: 11.38 MB / 1.123 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.03724/1.081, allocations: 14.34 MB / 1.401 GB, free: 12.92 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.081, allocations: 12.03 kB / 1.401 GB, free: 12.91 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/1.094, allocations: 2.226 MB / 1.404 GB, free: 10.66 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02871/1.123, allocations: 12.88 MB / 1.416 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006387/1.123, allocations: 0.6741 MB / 1.417 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002922/1.126, allocations: 0.9021 MB / 1.418 GB, free: 12.12 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03328/1.16, allocations: 14.42 MB / 1.432 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003144/1.16, allocations: 35.7 kB / 1.432 GB, free: 13.22 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002136/1.162, allocations: 400 kB / 1.432 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004274/1.163, allocations: 473.7 kB / 1.433 GB, free: 12.37 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02802/1.191, allocations: 12.89 MB / 1.445 GB, free: 15.46 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.07893/1.27, allocations: 53.17 MB / 1.497 GB, free: 8.145 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/1.284, allocations: 8.378 MB / 1.505 GB, free: 15.8 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007644/1.292, allocations: 4.557 MB / 1.51 GB, free: 11.22 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001873/1.293, allocations: 1.545 MB / 1.511 GB, free: 9.379 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008497/1.302, allocations: 4.476 MB / 1.516 GB, free: 4.84 MB / 1.248 GB Notification: Performance of pre-optimization done (n=569): time 7.705e-06/1.302, allocations: 0 / 1.516 GB, free: 4.84 MB / 1.248 GB Notification: Performance of matching and sorting (n=569): time 0.02283/1.325, allocations: 11.15 MB / 1.527 GB, free: 9.586 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.325, allocations: 299.7 kB / 1.527 GB, free: 9.234 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01515/1.34, allocations: 9.834 MB / 1.536 GB, free: 15.45 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0007399/1.341, allocations: 145.7 kB / 1.537 GB, free: 15.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.004668/1.346, allocations: 5.104 MB / 1.542 GB, free: 10.16 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002073/1.348, allocations: 1.976 MB / 1.544 GB, free: 8.152 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/1.35, allocations: 1.413 MB / 1.545 GB, free: 6.73 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/1.35, allocations: 301.1 kB / 1.545 GB, free: 6.434 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006963/1.357, allocations: 3.799 MB / 1.549 GB, free: 2.625 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00829/1.365, allocations: 5.638 MB / 1.554 GB, free: 12.22 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/1.382, allocations: 9.784 MB / 1.564 GB, free: 1.617 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.071e-05/1.382, allocations: 16 kB / 1.564 GB, free: 1.602 MB / 1.295 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02455/1.406, allocations: 10.57 MB / 1.574 GB, free: 6.953 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/1.406, allocations: 31.98 kB / 1.574 GB, free: 6.922 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.229e-05/1.406, allocations: 60 kB / 1.574 GB, free: 6.863 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.882e-05/1.407, allocations: 92.06 kB / 1.574 GB, free: 6.773 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007927/1.414, allocations: 1.747 MB / 1.576 GB, free: 5.023 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001447/1.415, allocations: 127.5 kB / 1.576 GB, free: 4.898 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009043/1.424, allocations: 1.062 MB / 1.577 GB, free: 3.828 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009387/1.425, allocations: 343.8 kB / 1.578 GB, free: 3.492 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.9309/2.356, allocations: 7.431 MB / 1.585 GB, free: 420.5 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009307/2.365, allocations: 5.641 MB / 1.59 GB, free: 418.2 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01627/2.381, allocations: 9.779 MB / 1.6 GB, free: 413 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.835e-05/2.381, allocations: 15.75 kB / 1.6 GB, free: 413 MB / 1.311 GB Notification: Performance of matching and sorting (n=896) (initialization_lambda0): time 0.02132/2.403, allocations: 10.56 MB / 1.61 GB, free: 409.5 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/2.403, allocations: 31.78 kB / 1.61 GB, free: 409.5 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.483e-05/2.403, allocations: 54.41 kB / 1.61 GB, free: 409.5 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.389e-05/2.403, allocations: 90.16 kB / 1.61 GB, free: 409.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00753/2.41, allocations: 1.745 MB / 1.612 GB, free: 409.3 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001279/2.411, allocations: 124.3 kB / 1.612 GB, free: 409.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008509/2.419, allocations: 0.863 MB / 1.613 GB, free: 409.1 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007548/2.42, allocations: 348 kB / 1.613 GB, free: 409.1 MB / 1.311 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.001539/2.421, allocations: 0.6325 MB / 1.614 GB, free: 408.6 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002483/2.424, allocations: 0.909 MB / 1.615 GB, free: 408.6 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01905/2.443, allocations: 9.093 MB / 1.624 GB, free: 405.3 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01426/2.457, allocations: 7.19 MB / 1.631 GB, free: 402.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/2.457, allocations: 9.531 kB / 1.631 GB, free: 402.7 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006176/2.463, allocations: 2.26 MB / 1.633 GB, free: 401.7 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002284/2.466, allocations: 129 kB / 1.633 GB, free: 401.6 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008124/2.474, allocations: 0.5098 MB / 1.634 GB, free: 401.5 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009669/2.475, allocations: 349.8 kB / 1.634 GB, free: 401.4 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02032/2.495, allocations: 8.861 MB / 1.643 GB, free: 398.5 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02367/2.519, allocations: 14.03 MB / 1.656 GB, free: 393 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005972/2.525, allocations: 4.02 MB / 1.66 GB, free: 391.5 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01059/2.535, allocations: 6.938 MB / 1.667 GB, free: 388.9 MB / 1.311 GB Notification: Performance of Backend: time 8.12e-07/2.535, allocations: 0 / 1.667 GB, free: 388.9 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02681/2.562, allocations: 11.99 MB / 1.679 GB, free: 379.9 MB / 1.311 GB Notification: Performance of SimCode: time 0.04832/2.611, allocations: 26.28 MB / 1.704 GB, free: 353.8 MB / 1.311 GB Notification: Performance of Templates: time 0.2887/2.899, allocations: 245.9 MB / 1.945 GB, free: 109.3 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_FlatPlate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches