Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_11_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.001652/0.001653, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.875/2.875, allocations: 469.8 MB / 0.7424 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 68.95 kB / 0.9087 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2587, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007747/0.2665, allocations: 5.39 MB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.441, allocations: 150.8 MB / 1.217 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007199/0.4418, allocations: 15.94 kB / 1.217 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.4423, allocations: 210 kB / 1.217 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.444, allocations: 0.5743 MB / 1.217 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.446, allocations: 0.9475 MB / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.4476, allocations: 1.609 MB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.4487, allocations: 0.7512 MB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000679/0.4494, allocations: 0.584 MB / 1.221 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007545/0.4502, allocations: 0.6458 MB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.4504, allocations: 144 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008196/0.4512, allocations: 0.4957 MB / 1.222 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003592/0.4516, allocations: 366.8 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006454/0.4523, allocations: 0.6647 MB / 1.223 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.4542, allocations: 1.881 MB / 1.225 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4542, allocations: 0 / 1.225 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4542, allocations: 0 / 1.225 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.4542, allocations: 0 / 1.225 GB, free: 8.418 MB / 0.9825 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.003242/0.4575, allocations: 1.682 MB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4575, allocations: 15.97 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/0.4577, allocations: 161.1 kB / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005708/0.4635, allocations: 0.7561 MB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.4647, allocations: 0.8122 MB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-05/0.4648, allocations: 82.2 kB / 1.229 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.465, allocations: 111.9 kB / 1.229 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003484/0.4685, allocations: 1.428 MB / 1.23 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.4685, allocations: 0 / 1.23 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.4687, allocations: 48 kB / 1.23 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.4687, allocations: 28 kB / 1.23 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005195/0.4739, allocations: 1.885 MB / 1.232 GB, free: 1.234 MB / 0.9825 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.006771/0.4807, allocations: 3.549 MB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/0.4846, allocations: 1.371 MB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.4863, allocations: 0.605 MB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000749/0.4871, allocations: 478.5 kB / 1.238 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002207/0.4893, allocations: 0.8049 MB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 2.485e-06/0.4893, allocations: 4 kB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006873/0.4962, allocations: 1.977 MB / 1.241 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.4963, allocations: 192.9 kB / 1.241 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008651/0.4972, allocations: 0.6451 MB / 1.242 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/0.4973, allocations: 45.7 kB / 1.242 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.4977, allocations: 444.6 kB / 1.242 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.498, allocations: 354.8 kB / 1.242 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/0.4984, allocations: 190.5 kB / 1.243 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.4986, allocations: 402.6 kB / 1.243 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.5003, allocations: 497.6 kB / 1.243 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.5021, allocations: 0.6086 MB / 1.244 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/0.5055, allocations: 1.054 MB / 1.245 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5055, allocations: 0 / 1.245 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004423/0.5099, allocations: 1.329 MB / 1.246 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.51, allocations: 11.94 kB / 1.246 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.51, allocations: 0 / 1.246 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006439/0.5106, allocations: 84.89 kB / 1.246 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.5122, allocations: 259.6 kB / 1.247 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.5145, allocations: 1.63 MB / 1.248 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5159, allocations: 163.2 kB / 1.248 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.4129/0.9287, allocations: 37.09 kB / 1.248 GB, free: 185.5 MB / 0.9981 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.0006825/0.9295, allocations: 287.6 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/0.9298, allocations: 94.94 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005244/0.935, allocations: 1.675 MB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.935, allocations: 14.12 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9351, allocations: 0 / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.9351, allocations: 9.156 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005986/0.9411, allocations: 2.803 MB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.9411, allocations: 0.875 kB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.9425, allocations: 253.8 kB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/0.943, allocations: 73.2 kB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.073e-05/0.9431, allocations: 33.44 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.9447, allocations: 1.673 MB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9447, allocations: 0 / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.9487, allocations: 1.529 MB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.9491, allocations: 323.4 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.9493, allocations: 23.25 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.9506, allocations: 129.7 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.9508, allocations: 83.98 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.081e-05/0.9509, allocations: 44.88 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005189/0.9514, allocations: 475.7 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9514, allocations: 0 / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000933/0.9524, allocations: 396.1 kB / 1.258 GB, free: 183.1 MB / 0.9981 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.005878/0.9582, allocations: 2.61 MB / 1.261 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004621/0.9629, allocations: 1.627 MB / 1.262 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9629, allocations: 0 / 1.262 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.9648, allocations: 0.8184 MB / 1.263 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.9661, allocations: 315.3 kB / 1.263 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/0.9831, allocations: 8.479 MB / 1.272 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.9837, allocations: 1.084 MB / 1.273 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001472/0.9852, allocations: 340.9 kB / 1.273 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006731/0.9858, allocations: 463.1 kB / 1.273 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.9858, allocations: 0 / 1.273 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05753/1.043, allocations: 25.35 MB / 1.298 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.98, allocations: 8.25 kB / 1.298 GB, free: 166.4 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches