Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007703/0.007703, allocations: 98.42 kB / 15.73 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.002135/0.002135, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.746/2.746, allocations: 482.4 MB / 0.7548 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.48 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2767, allocations: 162.2 MB / 1.241 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007216/0.284, allocations: 5.384 MB / 1.247 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1683/0.4523, allocations: 150.9 MB / 1.394 GB, free: 12.45 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008009/0.4531, allocations: 23.88 kB / 1.394 GB, free: 12.43 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005964/0.4537, allocations: 206 kB / 1.394 GB, free: 12.23 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.4554, allocations: 0.5773 MB / 1.395 GB, free: 11.65 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.4574, allocations: 0.9454 MB / 1.396 GB, free: 10.71 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.459, allocations: 1.616 MB / 1.397 GB, free: 9.09 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.4601, allocations: 0.7512 MB / 1.398 GB, free: 8.293 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006946/0.4608, allocations: 0.5918 MB / 1.399 GB, free: 7.699 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007732/0.4615, allocations: 0.6458 MB / 1.399 GB, free: 7.051 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.4618, allocations: 144 kB / 1.399 GB, free: 6.91 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009215/0.4627, allocations: 0.5152 MB / 1.4 GB, free: 6.395 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.4631, allocations: 362.8 kB / 1.4 GB, free: 6.039 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006386/0.4637, allocations: 0.6763 MB / 1.401 GB, free: 5.359 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.4658, allocations: 1.918 MB / 1.403 GB, free: 3.434 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4658, allocations: 8 kB / 1.403 GB, free: 3.426 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4659, allocations: 0 / 1.403 GB, free: 3.426 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.4659, allocations: 0 / 1.403 GB, free: 3.426 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003169/0.469, allocations: 1.717 MB / 1.404 GB, free: 1.652 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4691, allocations: 16.03 kB / 1.404 GB, free: 1.637 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000196/0.4693, allocations: 165.1 kB / 1.405 GB, free: 1.465 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/0.4746, allocations: 0.7608 MB / 1.405 GB, free: 0.7031 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.476, allocations: 0.8479 MB / 1.406 GB, free: 15.81 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-05/0.476, allocations: 78.2 kB / 1.406 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.4762, allocations: 104 kB / 1.406 GB, free: 15.63 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/0.4796, allocations: 1.436 MB / 1.408 GB, free: 14.13 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.4797, allocations: 0 / 1.408 GB, free: 14.13 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.4798, allocations: 48 kB / 1.408 GB, free: 14.09 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.4798, allocations: 27.94 kB / 1.408 GB, free: 14.06 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/0.485, allocations: 1.886 MB / 1.41 GB, free: 12.16 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006465/0.4915, allocations: 3.613 MB / 1.413 GB, free: 8.391 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/0.4952, allocations: 1.375 MB / 1.415 GB, free: 6.988 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.4969, allocations: 0.6011 MB / 1.415 GB, free: 6.387 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007085/0.4976, allocations: 478.5 kB / 1.416 GB, free: 5.824 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002078/0.4997, allocations: 0.8158 MB / 1.416 GB, free: 4.992 MB / 1.139 GB Notification: Performance of pre-optimization done (n=109): time 2.314e-06/0.4998, allocations: 0 / 1.416 GB, free: 4.992 MB / 1.139 GB Notification: Performance of matching and sorting (n=109): time 0.006646/0.5064, allocations: 1.974 MB / 1.418 GB, free: 2.992 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.5065, allocations: 196.9 kB / 1.419 GB, free: 2.758 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008554/0.5074, allocations: 0.6528 MB / 1.419 GB, free: 2.094 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/0.5075, allocations: 49.69 kB / 1.419 GB, free: 2.039 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.5079, allocations: 453.3 kB / 1.42 GB, free: 1.59 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.5082, allocations: 368.8 kB / 1.42 GB, free: 1.227 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/0.5086, allocations: 194.5 kB / 1.42 GB, free: 1.031 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.5088, allocations: 398.7 kB / 1.421 GB, free: 0.6328 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.5104, allocations: 493.7 kB / 1.421 GB, free: 152 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.5122, allocations: 0.6086 MB / 1.422 GB, free: 15.51 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/0.5154, allocations: 1.054 MB / 1.423 GB, free: 14.44 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.5154, allocations: 3.984 kB / 1.423 GB, free: 14.44 MB / 1.154 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004136/0.5196, allocations: 1.329 MB / 1.424 GB, free: 13.1 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5196, allocations: 4 kB / 1.424 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5196, allocations: 4 kB / 1.424 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/0.5202, allocations: 88.83 kB / 1.424 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.5216, allocations: 251.7 kB / 1.424 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.524, allocations: 1.634 MB / 1.426 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.5252, allocations: 173.3 kB / 1.426 GB, free: 10.81 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5254, allocations: 43.97 kB / 1.426 GB, free: 10.77 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.000515/0.5259, allocations: 290 kB / 1.426 GB, free: 10.47 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.5261, allocations: 103.3 kB / 1.426 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005016/0.5311, allocations: 1.68 MB / 1.428 GB, free: 8.676 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.5311, allocations: 12 kB / 1.428 GB, free: 8.664 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5311, allocations: 0 / 1.428 GB, free: 8.664 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.5312, allocations: 7.922 kB / 1.428 GB, free: 8.656 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006096/0.5373, allocations: 2.816 MB / 1.431 GB, free: 5.785 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5373, allocations: 0 / 1.431 GB, free: 5.785 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.5387, allocations: 255.6 kB / 1.431 GB, free: 5.535 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.5392, allocations: 68.8 kB / 1.431 GB, free: 5.465 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-05/0.5393, allocations: 35.97 kB / 1.431 GB, free: 5.43 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.5413, allocations: 1.663 MB / 1.433 GB, free: 3.617 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5414, allocations: 0 / 1.433 GB, free: 3.617 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004404/0.5458, allocations: 1.533 MB / 1.434 GB, free: 2.066 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004712/0.5463, allocations: 332 kB / 1.435 GB, free: 1.723 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.5464, allocations: 28 kB / 1.435 GB, free: 1.695 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.5477, allocations: 115.9 kB / 1.435 GB, free: 1.582 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.5479, allocations: 85.02 kB / 1.435 GB, free: 1.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.548, allocations: 55.94 kB / 1.435 GB, free: 1.445 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000633/0.5487, allocations: 467 kB / 1.435 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5487, allocations: 4 kB / 1.435 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009997/0.5497, allocations: 406.9 kB / 1.436 GB, free: 0.5898 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006693/0.5564, allocations: 2.606 MB / 1.438 GB, free: 14.14 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004017/0.5604, allocations: 1.354 MB / 1.44 GB, free: 12.77 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5604, allocations: 0 / 1.44 GB, free: 12.77 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.5626, allocations: 0.8203 MB / 1.44 GB, free: 11.93 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.564, allocations: 326.7 kB / 1.441 GB, free: 11.64 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.5818, allocations: 8.225 MB / 1.449 GB, free: 3.258 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007571/0.5826, allocations: 1.084 MB / 1.45 GB, free: 2.145 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00125/0.5839, allocations: 343.9 kB / 1.45 GB, free: 1.805 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008202/0.5847, allocations: 471.2 kB / 1.451 GB, free: 1.344 MB / 1.17 GB Notification: Performance of SimCode: time 3.31e-07/0.5847, allocations: 0 / 1.451 GB, free: 1.344 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06025/0.645, allocations: 25.6 MB / 1.476 GB, free: 8.129 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.68, allocations: 10.62 kB / 1.476 GB, free: 8.125 MB / 1.201 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches