Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.007138/0.007138, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001581/0.001581, allocations: 196.7 kB / 16.67 MB, free: 5.52 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.137/2.137, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.89 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7575, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005215/0.7627, allocations: 4.412 MB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1664/0.9292, allocations: 150.6 MB / 1.239 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.9304, allocations: 15.28 kB / 1.239 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007523/0.9312, allocations: 181.3 kB / 1.239 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.9341, allocations: 0.5005 MB / 1.24 GB, free: 204 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.9378, allocations: 0.8501 MB / 1.24 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002214/0.9401, allocations: 1.338 MB / 1.242 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.9413, allocations: 0.7162 MB / 1.242 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008667/0.9422, allocations: 0.5043 MB / 1.243 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009096/0.9431, allocations: 0.53 MB / 1.243 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003405/0.9435, allocations: 127.7 kB / 1.243 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.9447, allocations: 499.2 kB / 1.244 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004428/0.9452, allocations: 329.2 kB / 1.244 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008437/0.9461, allocations: 0.5859 MB / 1.245 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.9486, allocations: 1.713 MB / 1.247 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9486, allocations: 0 / 1.247 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9486, allocations: 0 / 1.247 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.653e-05/0.9486, allocations: 0 / 1.247 GB, free: 10.9 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003283/0.9519, allocations: 1.504 MB / 1.248 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.952, allocations: 8.031 kB / 1.248 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002526/0.9523, allocations: 156.3 kB / 1.248 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.954, allocations: 299.2 kB / 1.248 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.9554, allocations: 0.7887 MB / 1.249 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.9555, allocations: 73.94 kB / 1.249 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.9557, allocations: 99.98 kB / 1.249 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.958, allocations: 1.066 MB / 1.25 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.958, allocations: 0 / 1.25 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.9581, allocations: 40 kB / 1.25 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.9582, allocations: 24 kB / 1.25 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.9605, allocations: 1.272 MB / 1.252 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0047/0.9652, allocations: 2.686 MB / 1.254 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.9678, allocations: 1.013 MB / 1.255 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007752/0.9686, allocations: 362.6 kB / 1.256 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.844e-05/0.9687, allocations: 38.47 kB / 1.256 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.9699, allocations: 0.551 MB / 1.256 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 3.857e-06/0.9699, allocations: 0 / 1.256 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003861/0.9737, allocations: 1.38 MB / 1.258 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.9739, allocations: 192.9 kB / 1.258 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/0.9748, allocations: 0.641 MB / 1.258 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-05/0.9749, allocations: 41.7 kB / 1.258 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.9752, allocations: 428.2 kB / 1.259 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.9755, allocations: 284 kB / 1.259 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.9757, allocations: 150.5 kB / 1.259 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.9759, allocations: 382.8 kB / 1.26 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/0.9766, allocations: 305.8 kB / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008527/0.9775, allocations: 414.5 kB / 1.26 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.979, allocations: 0.6905 MB / 1.261 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.979, allocations: 0 / 1.261 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00238/0.9814, allocations: 0.915 MB / 1.262 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.9815, allocations: 8 kB / 1.262 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.9815, allocations: 0 / 1.262 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.9821, allocations: 80.88 kB / 1.262 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/0.9828, allocations: 179.8 kB / 1.262 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.985, allocations: 1.626 MB / 1.264 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008363/0.9859, allocations: 108.9 kB / 1.264 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/0.986, allocations: 35.97 kB / 1.264 GB, free: 8.578 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (90): * Single equations (assignments): 89 * 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.0004778/0.9865, allocations: 275.1 kB / 1.264 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.9867, allocations: 86.97 kB / 1.264 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.9896, allocations: 1.21 MB / 1.265 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.9896, allocations: 12 kB / 1.265 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.9896, allocations: 0 / 1.265 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.9897, allocations: 7.969 kB / 1.265 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.9939, allocations: 2.146 MB / 1.267 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.9939, allocations: 4 kB / 1.268 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.9946, allocations: 175.8 kB / 1.268 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004278/0.9951, allocations: 72.78 kB / 1.268 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.9952, allocations: 27.98 kB / 1.268 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.9971, allocations: 1.658 MB / 1.269 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9971, allocations: 4.031 kB / 1.269 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.9997, allocations: 1.115 MB / 1.27 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/1, allocations: 279.7 kB / 1.271 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/1, allocations: 20 kB / 1.271 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/1.001, allocations: 87.91 kB / 1.271 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.001, allocations: 84.77 kB / 1.271 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.089e-05/1.002, allocations: 39.97 kB / 1.271 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007014/1.002, allocations: 471 kB / 1.271 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.002, allocations: 0 / 1.271 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009609/1.003, allocations: 319.1 kB / 1.272 GB, free: 268 kB / 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 (97): * Single equations (assignments): 91 * 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.004142/1.007, allocations: 2.179 MB / 1.274 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002166/1.01, allocations: 0.9172 MB / 1.275 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.01, allocations: 0 / 1.275 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/1.011, allocations: 0.5783 MB / 1.275 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/1.012, allocations: 297.4 kB / 1.276 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/1.025, allocations: 6.835 MB / 1.282 GB, free: 5.461 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/1.026, allocations: 1.047 MB / 1.283 GB, free: 4.383 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008899/1.027, allocations: 282.8 kB / 1.284 GB, free: 4.102 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/1.027, allocations: 423.2 kB / 1.284 GB, free: 3.688 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.027, allocations: 0 / 1.284 GB, free: 3.688 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.051/1.078, allocations: 22.23 MB / 1.306 GB, free: 13.79 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.41, allocations: 12.77 kB / 1.306 GB, free: 13.79 MB / 1.045 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches