Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|shaCoe.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|shaCoe.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001437, allocations: 109 kB / 16.41 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.001645/0.001646, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.349/1.349, 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 11.0.1-master/package.mo): time 2.602/2.602, allocations: 469.4 MB / 0.7428 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 68.3 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.688, allocations: 159.1 MB / 1.221 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.0372/0.7253, allocations: 38.58 MB / 1.259 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1616/0.8869, allocations: 160.6 MB / 1.415 GB, free: 10.44 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.8894, allocations: 67.62 kB / 1.415 GB, free: 10.38 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.8915, allocations: 0.746 MB / 1.416 GB, free: 9.625 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005508/0.8971, allocations: 2.084 MB / 1.418 GB, free: 7.535 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005233/0.9023, allocations: 2.242 MB / 1.42 GB, free: 5.305 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01387/0.9162, allocations: 13.27 MB / 1.433 GB, free: 8.004 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009237/0.9254, allocations: 6.624 MB / 1.44 GB, free: 1.285 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008598/0.9341, allocations: 4.634 MB / 1.444 GB, free: 12.66 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006265/0.9404, allocations: 3.992 MB / 1.448 GB, free: 8.652 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001988/0.9424, allocations: 0.6719 MB / 1.449 GB, free: 7.98 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005238/0.9476, allocations: 1.982 MB / 1.451 GB, free: 5.996 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002362/0.95, allocations: 1.628 MB / 1.452 GB, free: 4.363 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.005414/0.9554, allocations: 3.279 MB / 1.456 GB, free: 1.07 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.9671, allocations: 9.547 MB / 1.465 GB, free: 7.492 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9672, allocations: 0 / 1.465 GB, free: 7.492 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9672, allocations: 0 / 1.465 GB, free: 7.492 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0002628/0.9675, allocations: 0 / 1.465 GB, free: 7.492 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1070 * Number of variables: 1070 Notification: Performance of Generate backend data structure: time 0.01531/0.9828, allocations: 6.362 MB / 1.471 GB, free: 1.047 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.9828, allocations: 8.625 kB / 1.471 GB, free: 1.039 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009128/0.992, allocations: 1.43 MB / 1.473 GB, free: 15.6 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/1.002, allocations: 4.96 MB / 1.477 GB, free: 10.57 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/1.002, allocations: 312.2 kB / 1.478 GB, free: 10.26 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/1.004, allocations: 411.9 kB / 1.478 GB, free: 9.859 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/1.016, allocations: 5.974 MB / 1.484 GB, free: 3.684 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.3e-05/1.016, allocations: 7.938 kB / 1.484 GB, free: 3.676 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005153/1.017, allocations: 184 kB / 1.484 GB, free: 3.496 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/1.017, allocations: 191.9 kB / 1.484 GB, free: 3.305 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/1.03, allocations: 5.702 MB / 1.49 GB, free: 13.58 MB / 1.217 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.03362/1.064, allocations: 21.15 MB / 1.511 GB, free: 7.59 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007954/1.072, allocations: 3.728 MB / 1.514 GB, free: 3.852 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004136/1.076, allocations: 1.982 MB / 1.516 GB, free: 1.867 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/1.079, allocations: 1.907 MB / 1.518 GB, free: 15.57 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004887/1.083, allocations: 2.236 MB / 1.52 GB, free: 13.29 MB / 1.248 GB Notification: Performance of pre-optimization done (n=282): time 6.452e-06/1.084, allocations: 112 / 1.52 GB, free: 13.29 MB / 1.248 GB Notification: Performance of matching and sorting (n=282): time 0.0141/1.098, allocations: 5.426 MB / 1.525 GB, free: 7.785 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.098, allocations: 239.8 kB / 1.526 GB, free: 7.5 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005811/1.104, allocations: 3.916 MB / 1.53 GB, free: 3.559 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005338/1.104, allocations: 89.69 kB / 1.53 GB, free: 3.465 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/1.106, allocations: 2.097 MB / 1.532 GB, free: 1.348 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.107, allocations: 0.9513 MB / 1.533 GB, free: 392 kB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/1.108, allocations: 0.6471 MB / 1.533 GB, free: 15.73 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/1.108, allocations: 301.1 kB / 1.534 GB, free: 15.43 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003955/1.112, allocations: 1.683 MB / 1.535 GB, free: 13.74 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004532/1.117, allocations: 2.359 MB / 1.537 GB, free: 11.13 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008667/1.126, allocations: 4.09 MB / 1.541 GB, free: 6.77 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/1.126, allocations: 4 kB / 1.541 GB, free: 6.766 MB / 1.264 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.0114/1.137, allocations: 4.665 MB / 1.546 GB, free: 2.055 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/1.137, allocations: 12.97 kB / 1.546 GB, free: 2.043 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/1.137, allocations: 16 kB / 1.546 GB, free: 2.027 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/1.138, allocations: 116.7 kB / 1.546 GB, free: 1.91 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/1.142, allocations: 0.8073 MB / 1.547 GB, free: 1.102 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/1.144, allocations: 1.687 MB / 1.549 GB, free: 15.27 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/1.148, allocations: 493.8 kB / 1.549 GB, free: 14.79 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004349/1.149, allocations: 159.8 kB / 1.549 GB, free: 14.63 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006385/1.155, allocations: 3.012 MB / 1.552 GB, free: 11.61 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004591/1.16, allocations: 2.351 MB / 1.554 GB, free: 9.004 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008567/1.168, allocations: 4.086 MB / 1.558 GB, free: 4.648 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.25e-05/1.168, allocations: 8 kB / 1.558 GB, free: 4.641 MB / 1.279 GB Notification: Performance of matching and sorting (n=403) (initialization_lambda0): time 0.6189/1.787, allocations: 4.659 MB / 1.563 GB, free: 326.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/1.787, allocations: 12.31 kB / 1.563 GB, free: 326.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.337e-05/1.787, allocations: 17.69 kB / 1.563 GB, free: 326.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007318/1.788, allocations: 118.4 kB / 1.563 GB, free: 326.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00471/1.793, allocations: 0.7969 MB / 1.564 GB, free: 326.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/1.795, allocations: 1.681 MB / 1.566 GB, free: 325.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004718/1.8, allocations: 411.5 kB / 1.566 GB, free: 325.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000612/1.8, allocations: 160.1 kB / 1.566 GB, free: 325.1 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (401): * Single equations (assignments): 400 * 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.0008925/1.801, allocations: 387.8 kB / 1.566 GB, free: 324.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/1.802, allocations: 413.6 kB / 1.567 GB, free: 324.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/1.814, allocations: 4.713 MB / 1.571 GB, free: 324.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008727/1.823, allocations: 3.716 MB / 1.575 GB, free: 322.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/1.823, allocations: 0 / 1.575 GB, free: 322.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/1.826, allocations: 1.041 MB / 1.576 GB, free: 322.4 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/1.827, allocations: 64.03 kB / 1.576 GB, free: 322.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003677/1.83, allocations: 269.2 kB / 1.576 GB, free: 322.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004998/1.831, allocations: 192.8 kB / 1.577 GB, free: 322.3 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01123/1.842, allocations: 4.31 MB / 1.581 GB, free: 320.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01259/1.855, allocations: 6.669 MB / 1.587 GB, free: 318.2 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003607/1.858, allocations: 1.926 MB / 1.589 GB, free: 317.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003548/1.862, allocations: 2.768 MB / 1.592 GB, free: 316.5 MB / 1.279 GB Notification: Performance of Backend: time 7.51e-07/1.862, allocations: 0 / 1.592 GB, free: 316.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01639/1.878, allocations: 6.033 MB / 1.598 GB, free: 314.3 MB / 1.279 GB Notification: Performance of SimCode: time 0.01799/1.896, allocations: 10.67 MB / 1.608 GB, free: 304.3 MB / 1.279 GB Notification: Performance of Templates: time 0.1353/2.032, allocations: 111.1 MB / 1.717 GB, free: 194 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches