Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_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.001665/0.001665, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001492/0.001492, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.758/2.758, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.806/3.806, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006531/0.0006535, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505/1.505, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008081/1.513, allocations: 3.714 MB / 0.9845 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2667/1.78, allocations: 127.6 MB / 1.109 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/1.782, allocations: 15.94 kB / 1.109 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006867/1.783, allocations: 71.34 kB / 1.109 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003166/1.786, allocations: 0.4936 MB / 1.11 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/1.789, allocations: 0.6349 MB / 1.11 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002713/1.792, allocations: 0.8337 MB / 1.111 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/1.794, allocations: 0.5428 MB / 1.112 GB, free: 60 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/1.795, allocations: 350.6 kB / 1.112 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008384/1.796, allocations: 354.1 kB / 1.112 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/1.796, allocations: 24 kB / 1.112 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/1.797, allocations: 315.5 kB / 1.113 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/1.798, allocations: 191.1 kB / 1.113 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003641/1.798, allocations: 209.1 kB / 1.113 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002302/1.8, allocations: 1.235 MB / 1.114 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.8, allocations: 0 / 1.114 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.496e-06/1.8, allocations: 0 / 1.114 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.846e-05/1.8, allocations: 0 / 1.114 GB, free: 13.4 MB / 0.8731 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.00412/1.804, allocations: 1.278 MB / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 8.142e-05/1.805, allocations: 8.031 kB / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003586/1.805, allocations: 152 kB / 1.116 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/1.807, allocations: 322.2 kB / 1.116 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/1.809, allocations: 0.7265 MB / 1.117 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/1.81, allocations: 81.89 kB / 1.117 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/1.81, allocations: 95.98 kB / 1.117 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/1.813, allocations: 1.062 MB / 1.118 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/1.813, allocations: 0 / 1.118 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/1.813, allocations: 40 kB / 1.118 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/1.813, allocations: 24 kB / 1.118 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004007/1.817, allocations: 1.272 MB / 1.119 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008115/1.825, allocations: 2.753 MB / 1.122 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/1.829, allocations: 1.043 MB / 1.123 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/1.829, allocations: 32.61 kB / 1.123 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00174/1.831, allocations: 0.5471 MB / 1.123 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 4.899e-06/1.831, allocations: 0 / 1.123 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.005703/1.837, allocations: 1.392 MB / 1.125 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/1.837, allocations: 188.9 kB / 1.125 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/1.839, allocations: 0.6294 MB / 1.126 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/1.839, allocations: 41.7 kB / 1.126 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006031/1.839, allocations: 436.2 kB / 1.126 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/1.84, allocations: 272 kB / 1.126 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/1.84, allocations: 16 kB / 1.126 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000389/1.84, allocations: 390.8 kB / 1.127 GB, free: 308 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/1.841, allocations: 305.8 kB / 1.127 GB, free: 0 / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/1.843, allocations: 414.5 kB / 1.127 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/1.844, allocations: 338.9 kB / 1.128 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.844, allocations: 8 kB / 1.128 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003631/1.847, allocations: 0.915 MB / 1.129 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/1.847, allocations: 4 kB / 1.129 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/1.847, allocations: 0 / 1.129 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007917/1.848, allocations: 88.86 kB / 1.129 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.85, allocations: 183.8 kB / 1.129 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/1.853, allocations: 1.534 MB / 1.13 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.854, allocations: 124.9 kB / 1.13 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/1.854, allocations: 27.98 kB / 1.13 GB, free: 12.21 MB / 0.8887 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009592/1.855, allocations: 273.6 kB / 1.131 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/1.856, allocations: 82.97 kB / 1.131 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00453/1.86, allocations: 1.218 MB / 1.132 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/1.86, allocations: 12 kB / 1.132 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.86, allocations: 3.953 kB / 1.132 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/1.86, allocations: 7.984 kB / 1.132 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006377/1.867, allocations: 2.152 MB / 1.134 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.867, allocations: 0 / 1.134 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.868, allocations: 175.8 kB / 1.134 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007287/1.869, allocations: 84.77 kB / 1.134 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/1.869, allocations: 31.97 kB / 1.134 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/1.872, allocations: 1.552 MB / 1.136 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.872, allocations: 0 / 1.136 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/1.876, allocations: 1.117 MB / 1.137 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009205/1.877, allocations: 295.6 kB / 1.137 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/1.877, allocations: 27.98 kB / 1.137 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.878, allocations: 95.94 kB / 1.137 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/1.879, allocations: 80.88 kB / 1.137 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.879, allocations: 39.92 kB / 1.138 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001032/1.88, allocations: 459 kB / 1.138 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/1.88, allocations: 0 / 1.138 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001691/1.882, allocations: 335.1 kB / 1.138 GB, free: 3.945 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006147/1.888, allocations: 2.168 MB / 1.14 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003491/1.891, allocations: 0.9212 MB / 1.141 GB, free: 1 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/1.891, allocations: 0 / 1.141 GB, free: 1 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/1.893, allocations: 0.5783 MB / 1.142 GB, free: 420 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.895, allocations: 241.5 kB / 1.142 GB, free: 184 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/1.915, allocations: 5.908 MB / 1.148 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/1.916, allocations: 1.071 MB / 1.149 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001737/1.918, allocations: 274.8 kB / 1.149 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009124/1.919, allocations: 411.3 kB / 1.15 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of SimCode: time 1.944e-06/1.919, allocations: 0 / 1.15 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08241/2.001, allocations: 22.09 MB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005317/2.002, allocations: 289.4 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.887/5.889, allocations: 4 kB / 1.171 GB, free: 2.352 MB / 0.92 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat does not exist to compare? outputFormat=mat