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 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: "" <> 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.001242/0.001242, allocations: 108 kB / 15.6 MB, free: 132 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.001214/0.001214, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.427/2.427, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 64.59 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2296, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006169/0.2358, allocations: 5.399 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1277/0.3635, allocations: 150.8 MB / 1.216 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006776/0.3642, allocations: 15.94 kB / 1.216 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000563/0.3648, allocations: 214 kB / 1.216 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.3664, allocations: 0.5727 MB / 1.217 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.3682, allocations: 0.942 MB / 1.218 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.3696, allocations: 1.608 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008928/0.3705, allocations: 0.7473 MB / 1.22 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006597/0.3712, allocations: 0.5918 MB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006914/0.3719, allocations: 0.6536 MB / 1.221 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.3721, allocations: 140 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007667/0.3729, allocations: 0.4918 MB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.3732, allocations: 366.8 kB / 1.222 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.3737, allocations: 0.6724 MB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.3753, allocations: 1.869 MB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3753, allocations: 3.938 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3754, allocations: 4 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.509e-05/0.3754, allocations: 0 / 1.225 GB, free: 8.785 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.002855/0.3782, allocations: 1.678 MB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3783, allocations: 12.03 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.3785, allocations: 165.1 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/0.3833, allocations: 0.7561 MB / 1.227 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000988/0.3843, allocations: 0.8122 MB / 1.228 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/0.3844, allocations: 82.2 kB / 1.228 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.3845, allocations: 104 kB / 1.228 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/0.3874, allocations: 1.432 MB / 1.23 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.3874, allocations: 4 kB / 1.23 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.3875, allocations: 44 kB / 1.23 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.3875, allocations: 28 kB / 1.23 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004254/0.3918, allocations: 1.889 MB / 1.232 GB, free: 1.605 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.005402/0.3972, allocations: 3.539 MB / 1.235 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.4004, allocations: 1.378 MB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.4018, allocations: 0.5989 MB / 1.237 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005718/0.4024, allocations: 482.5 kB / 1.238 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/0.4041, allocations: 0.8049 MB / 1.238 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 2.334e-06/0.4041, allocations: 0 / 1.238 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.005625/0.4097, allocations: 1.977 MB / 1.24 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.4098, allocations: 196.9 kB / 1.24 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006543/0.4105, allocations: 0.6451 MB / 1.241 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.711e-05/0.4106, allocations: 45.7 kB / 1.241 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.4108, allocations: 440.6 kB / 1.242 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.4111, allocations: 362.8 kB / 1.242 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.4114, allocations: 190.5 kB / 1.242 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.4115, allocations: 398.7 kB / 1.242 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.4129, allocations: 493.7 kB / 1.243 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.4143, allocations: 0.6086 MB / 1.244 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/0.4171, allocations: 1.058 MB / 1.245 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4171, allocations: 3.938 kB / 1.245 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00354/0.4206, allocations: 1.329 MB / 1.246 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4207, allocations: 11.94 kB / 1.246 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4207, allocations: 0 / 1.246 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005345/0.4212, allocations: 80.91 kB / 1.246 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.4225, allocations: 263.7 kB / 1.246 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.4244, allocations: 1.634 MB / 1.248 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.4255, allocations: 163.1 kB / 1.248 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/0.4256, allocations: 43.95 kB / 1.248 GB, free: 352 kB / 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.0003698/0.426, allocations: 285.6 kB / 1.248 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3872/0.8132, allocations: 90.64 kB / 1.248 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004742/0.818, allocations: 1.677 MB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.818, allocations: 13.62 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.818, allocations: 0 / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.818, allocations: 11.09 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005041/0.8231, allocations: 2.8 MB / 1.253 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.8231, allocations: 0 / 1.253 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.8243, allocations: 255.3 kB / 1.253 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/0.8247, allocations: 73.53 kB / 1.253 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.8248, allocations: 32.77 kB / 1.253 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.8262, allocations: 1.666 MB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8262, allocations: 0 / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.8296, allocations: 1.533 MB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.8299, allocations: 322.5 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.8301, allocations: 22.53 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.8312, allocations: 122.4 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.8314, allocations: 86.11 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/0.8315, allocations: 52.2 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004373/0.8319, allocations: 474.9 kB / 1.257 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8319, allocations: 0 / 1.257 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008075/0.8327, allocations: 395.5 kB / 1.258 GB, free: 184 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.0047/0.8374, allocations: 2.606 MB / 1.26 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004075/0.8415, allocations: 1.626 MB / 1.262 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8415, allocations: 2.938 kB / 1.262 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.8432, allocations: 0.8185 MB / 1.263 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.8443, allocations: 316.4 kB / 1.263 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.859, allocations: 8.49 MB / 1.271 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.8595, allocations: 1.084 MB / 1.272 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001249/0.8608, allocations: 346.5 kB / 1.273 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006115/0.8614, allocations: 466.2 kB / 1.273 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.8614, allocations: 0 / 1.273 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04697/0.9084, allocations: 25.33 MB / 1.298 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11.07, allocations: 15.19 kB / 1.298 GB, free: 167.3 MB / 0.9981 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 50 --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