Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Validation.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_10_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_10_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.001092/0.001092, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001054/0.001054, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.409/2.409, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 60.09 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.8181, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.03235/0.8505, allocations: 32.54 MB / 1.199 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.17/1.021, allocations: 160 MB / 1.355 GB, free: 2.531 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002586/1.023, allocations: 55.69 kB / 1.355 GB, free: 2.477 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002267/1.026, allocations: 0.7337 MB / 1.356 GB, free: 1.738 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005942/1.031, allocations: 1.959 MB / 1.358 GB, free: 15.77 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005204/1.037, allocations: 1.984 MB / 1.36 GB, free: 13.8 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.03211/1.069, allocations: 34.96 MB / 1.394 GB, free: 10.76 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01944/1.088, allocations: 16.74 MB / 1.41 GB, free: 9.879 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02071/1.109, allocations: 11.5 MB / 1.422 GB, free: 14.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01719/1.126, allocations: 9.901 MB / 1.431 GB, free: 4.492 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.004853/1.131, allocations: 1.531 MB / 1.433 GB, free: 2.961 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009235/1.14, allocations: 2.787 MB / 1.436 GB, free: 176 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.006203/1.147, allocations: 3.84 MB / 1.439 GB, free: 12.32 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.01389/1.161, allocations: 7.686 MB / 1.447 GB, free: 4.602 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0288/1.189, allocations: 21.95 MB / 1.468 GB, free: 14.57 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.189, allocations: 0 / 1.468 GB, free: 14.57 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.084e-06/1.189, allocations: 0 / 1.468 GB, free: 14.57 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0008801/1.19, allocations: 0 / 1.468 GB, free: 14.57 MB / 1.201 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.03769/1.228, allocations: 14.76 MB / 1.483 GB, free: 15.68 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.228, allocations: 8.625 kB / 1.483 GB, free: 15.67 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/1.241, allocations: 2.284 MB / 1.485 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02857/1.27, allocations: 12.95 MB / 1.498 GB, free: 360 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006434/1.271, allocations: 0.6742 MB / 1.498 GB, free: 15.67 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00309/1.274, allocations: 0.9021 MB / 1.499 GB, free: 14.77 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03522/1.309, allocations: 14.43 MB / 1.513 GB, free: 15.9 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003442/1.309, allocations: 31.77 kB / 1.513 GB, free: 15.87 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002386/1.312, allocations: 403.9 kB / 1.514 GB, free: 15.48 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004313/1.312, allocations: 477.7 kB / 1.514 GB, free: 15.01 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02944/1.342, allocations: 12.89 MB / 1.527 GB, free: 2.098 MB / 1.248 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 1.151/2.493, allocations: 53.72 MB / 1.579 GB, free: 338.3 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01506/2.508, allocations: 8.357 MB / 1.587 GB, free: 335.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008224/2.516, allocations: 4.535 MB / 1.592 GB, free: 333.7 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001898/2.518, allocations: 1.542 MB / 1.593 GB, free: 332.2 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008898/2.527, allocations: 4.474 MB / 1.598 GB, free: 330.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=569): time 1.106e-05/2.527, allocations: 0 / 1.598 GB, free: 330.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=569): time 0.02413/2.551, allocations: 11.17 MB / 1.608 GB, free: 325.6 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/2.551, allocations: 292.8 kB / 1.609 GB, free: 325.3 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01663/2.568, allocations: 9.829 MB / 1.618 GB, free: 317.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001521/2.569, allocations: 153.3 kB / 1.618 GB, free: 317.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.005287/2.575, allocations: 5.226 MB / 1.624 GB, free: 312.8 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002743/2.578, allocations: 2.058 MB / 1.626 GB, free: 311 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002409/2.58, allocations: 1.421 MB / 1.627 GB, free: 309.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.243e-05/2.58, allocations: 301.1 kB / 1.627 GB, free: 309.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0074/2.587, allocations: 3.79 MB / 1.631 GB, free: 305.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00902/2.596, allocations: 5.638 MB / 1.636 GB, free: 299.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01688/2.613, allocations: 9.767 MB / 1.646 GB, free: 288.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-05/2.614, allocations: 12 kB / 1.646 GB, free: 288.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02483/2.638, allocations: 10.6 MB / 1.656 GB, free: 277.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.644e-05/2.638, allocations: 33.97 kB / 1.656 GB, free: 277.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-05/2.639, allocations: 52 kB / 1.656 GB, free: 277.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-05/2.639, allocations: 92 kB / 1.657 GB, free: 277.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00849/2.647, allocations: 1.755 MB / 1.658 GB, free: 276 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000136/2.647, allocations: 119.6 kB / 1.658 GB, free: 275.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/2.657, allocations: 1.082 MB / 1.659 GB, free: 275 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/2.659, allocations: 351.8 kB / 1.66 GB, free: 274.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01375/2.673, allocations: 7.422 MB / 1.667 GB, free: 267.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0093/2.682, allocations: 5.635 MB / 1.673 GB, free: 260.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01731/2.699, allocations: 9.764 MB / 1.682 GB, free: 250.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.597e-05/2.7, allocations: 16 kB / 1.682 GB, free: 250.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=896) (initialization_lambda0): time 0.02451/2.724, allocations: 10.59 MB / 1.692 GB, free: 239.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/2.724, allocations: 31.84 kB / 1.692 GB, free: 239.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.607e-05/2.724, allocations: 52 kB / 1.693 GB, free: 239.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-05/2.724, allocations: 99.92 kB / 1.693 GB, free: 239.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008596/2.733, allocations: 1.752 MB / 1.694 GB, free: 237.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001466/2.733, allocations: 119.6 kB / 1.694 GB, free: 237.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/2.743, allocations: 0.8754 MB / 1.695 GB, free: 236.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/2.745, allocations: 343.9 kB / 1.696 GB, free: 236.4 MB / 1.279 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.001986/2.747, allocations: 0.6321 MB / 1.696 GB, free: 235.8 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003233/2.75, allocations: 0.9609 MB / 1.697 GB, free: 234.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01998/2.77, allocations: 9.075 MB / 1.706 GB, free: 225.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01511/2.785, allocations: 7.18 MB / 1.713 GB, free: 218.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/2.785, allocations: 0 / 1.713 GB, free: 218.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006398/2.792, allocations: 2.299 MB / 1.715 GB, free: 216.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003082/2.795, allocations: 138 kB / 1.715 GB, free: 216.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009139/2.804, allocations: 0.5047 MB / 1.716 GB, free: 215.6 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00123/2.805, allocations: 344.1 kB / 1.716 GB, free: 215.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02199/2.827, allocations: 8.868 MB / 1.725 GB, free: 206.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02687/2.854, allocations: 14.09 MB / 1.739 GB, free: 192.1 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007336/2.861, allocations: 4.007 MB / 1.743 GB, free: 188.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01107/2.873, allocations: 6.941 MB / 1.749 GB, free: 181.2 MB / 1.279 GB Notification: Performance of Backend: time 1.072e-06/2.873, allocations: 0 / 1.749 GB, free: 181.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03187/2.904, allocations: 11.97 MB / 1.761 GB, free: 169.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.06018/2.965, allocations: 26.64 MB / 1.787 GB, free: 143.2 MB / 1.279 GB Notification: Performance of Templates: time 0.3718/3.337, allocations: 246.8 MB / 2.028 GB, free: 9.707 MB / 1.389 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Validation_FlatPlate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches