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.001369/0.001369, allocations: 114.5 kB / 16.42 MB, free: 6.473 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.001418/0.001418, allocations: 187.9 kB / 17.35 MB, free: 5.707 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.306/1.306, 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.383/2.383, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 63.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7804, allocations: 151.7 MB / 1.167 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.03015/0.8105, allocations: 32.54 MB / 1.199 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.9827, allocations: 160 MB / 1.355 GB, free: 2.703 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.9851, allocations: 55.69 kB / 1.355 GB, free: 2.648 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.9871, allocations: 0.7327 MB / 1.356 GB, free: 1.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.9926, allocations: 1.958 MB / 1.358 GB, free: 15.95 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004827/0.9974, allocations: 1.995 MB / 1.36 GB, free: 13.96 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.03099/1.028, allocations: 34.96 MB / 1.394 GB, free: 10.92 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02179/1.05, allocations: 16.74 MB / 1.41 GB, free: 10.04 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01996/1.07, allocations: 11.5 MB / 1.422 GB, free: 14.59 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01563/1.086, allocations: 9.9 MB / 1.431 GB, free: 4.656 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.004716/1.091, allocations: 1.531 MB / 1.433 GB, free: 3.125 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/1.101, allocations: 2.783 MB / 1.436 GB, free: 348 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.006608/1.107, allocations: 3.837 MB / 1.439 GB, free: 12.49 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.01449/1.122, allocations: 7.69 MB / 1.447 GB, free: 4.77 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.02833/1.15, allocations: 21.96 MB / 1.468 GB, free: 14.74 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.15, allocations: 0 / 1.468 GB, free: 14.74 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.884e-06/1.15, allocations: 0 / 1.468 GB, free: 14.74 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0008065/1.151, allocations: 0 / 1.468 GB, free: 14.74 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.03695/1.188, allocations: 14.76 MB / 1.483 GB, free: 15.85 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.188, allocations: 12.91 kB / 1.483 GB, free: 15.84 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/1.201, allocations: 2.28 MB / 1.485 GB, free: 13.55 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0268/1.228, allocations: 12.96 MB / 1.498 GB, free: 0.5117 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006766/1.229, allocations: 0.6703 MB / 1.498 GB, free: 15.84 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003135/1.232, allocations: 0.9021 MB / 1.499 GB, free: 14.94 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03003/1.262, allocations: 14.42 MB / 1.513 GB, free: 72 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002463/1.262, allocations: 35.77 kB / 1.513 GB, free: 36 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001445/1.264, allocations: 400 kB / 1.514 GB, free: 15.64 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004164/1.264, allocations: 473.7 kB / 1.514 GB, free: 15.18 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02819/1.292, allocations: 12.89 MB / 1.527 GB, free: 2.27 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.108/2.4, allocations: 53.71 MB / 1.579 GB, free: 338.4 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01247/2.413, allocations: 8.36 MB / 1.587 GB, free: 335.5 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006459/2.419, allocations: 4.53 MB / 1.592 GB, free: 333.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/2.421, allocations: 1.539 MB / 1.593 GB, free: 332.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007133/2.428, allocations: 4.485 MB / 1.598 GB, free: 330.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=569): time 8.025e-06/2.428, allocations: 0 / 1.598 GB, free: 330.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=569): time 0.02029/2.448, allocations: 11.16 MB / 1.608 GB, free: 325.8 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/2.449, allocations: 295 kB / 1.609 GB, free: 325.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/2.461, allocations: 9.844 MB / 1.618 GB, free: 317.7 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001194/2.462, allocations: 148.2 kB / 1.619 GB, free: 317.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003869/2.466, allocations: 5.222 MB / 1.624 GB, free: 313.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002103/2.468, allocations: 2.057 MB / 1.626 GB, free: 311.3 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00188/2.47, allocations: 1.421 MB / 1.627 GB, free: 309.9 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.537e-05/2.47, allocations: 301.1 kB / 1.627 GB, free: 309.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006043/2.476, allocations: 3.792 MB / 1.631 GB, free: 305.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006691/2.483, allocations: 5.638 MB / 1.636 GB, free: 299.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/2.496, allocations: 9.764 MB / 1.646 GB, free: 288.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.82e-05/2.496, allocations: 16 kB / 1.646 GB, free: 288.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01774/2.514, allocations: 10.6 MB / 1.656 GB, free: 278.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/2.514, allocations: 31.94 kB / 1.656 GB, free: 278.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-05/2.514, allocations: 56 kB / 1.656 GB, free: 278.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.579e-05/2.514, allocations: 88 kB / 1.657 GB, free: 278.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007045/2.521, allocations: 1.752 MB / 1.658 GB, free: 276.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-05/2.521, allocations: 126.1 kB / 1.658 GB, free: 276.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00825/2.53, allocations: 1.086 MB / 1.659 GB, free: 275.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007341/2.53, allocations: 347.8 kB / 1.66 GB, free: 275 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01053/2.541, allocations: 7.422 MB / 1.667 GB, free: 267.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006615/2.547, allocations: 5.634 MB / 1.673 GB, free: 261.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01295/2.56, allocations: 9.764 MB / 1.682 GB, free: 250.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.508e-05/2.56, allocations: 16 kB / 1.682 GB, free: 250.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=896) (initialization_lambda0): time 0.0178/2.578, allocations: 10.59 MB / 1.692 GB, free: 239.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/2.578, allocations: 28 kB / 1.692 GB, free: 239.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.441e-05/2.578, allocations: 56 kB / 1.693 GB, free: 239.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.438e-05/2.578, allocations: 91.94 kB / 1.693 GB, free: 239.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006861/2.585, allocations: 1.751 MB / 1.694 GB, free: 238 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.054e-05/2.585, allocations: 123.6 kB / 1.694 GB, free: 237.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007785/2.593, allocations: 0.8755 MB / 1.695 GB, free: 237.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006712/2.594, allocations: 347.8 kB / 1.696 GB, free: 236.7 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.001454/2.595, allocations: 0.6295 MB / 1.696 GB, free: 236.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002253/2.598, allocations: 0.9549 MB / 1.697 GB, free: 235.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/2.613, allocations: 9.085 MB / 1.706 GB, free: 226 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01158/2.625, allocations: 7.176 MB / 1.713 GB, free: 218.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/2.625, allocations: 0 / 1.713 GB, free: 218.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004933/2.63, allocations: 2.302 MB / 1.715 GB, free: 216.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002009/2.632, allocations: 138 kB / 1.715 GB, free: 216.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006224/2.638, allocations: 0.5026 MB / 1.716 GB, free: 215.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006203/2.639, allocations: 348.1 kB / 1.716 GB, free: 215.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01716/2.656, allocations: 8.863 MB / 1.725 GB, free: 206.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02136/2.677, allocations: 14.09 MB / 1.739 GB, free: 192.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005693/2.683, allocations: 4.011 MB / 1.743 GB, free: 188.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008651/2.692, allocations: 6.937 MB / 1.749 GB, free: 181.5 MB / 1.279 GB Notification: Performance of Backend: time 7.42e-07/2.692, allocations: 4 kB / 1.749 GB, free: 181.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02515/2.717, allocations: 11.97 MB / 1.761 GB, free: 170 MB / 1.279 GB Notification: Performance of SimCode: time 0.04248/2.759, allocations: 26.64 MB / 1.787 GB, free: 143.6 MB / 1.279 GB Notification: Performance of Templates: time 0.3134/3.073, allocations: 246.8 MB / 2.028 GB, free: 10.03 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