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.0081/0.008101, allocations: 99.92 kB / 15.73 MB, free: 6.047 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.001883/0.001883, allocations: 183.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.263/2.263, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.548/2.548, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 66.23 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2634, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005846/0.2693, allocations: 4.427 MB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.4438, allocations: 150.6 MB / 1.239 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009891/0.4448, allocations: 19.94 kB / 1.239 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000607/0.4455, allocations: 178.3 kB / 1.239 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.4477, allocations: 0.4971 MB / 1.24 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.45, allocations: 0.8469 MB / 1.24 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.4519, allocations: 1.34 MB / 1.242 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.4531, allocations: 0.7117 MB / 1.242 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008142/0.4539, allocations: 0.5022 MB / 1.243 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007259/0.4547, allocations: 0.5289 MB / 1.243 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.4548, allocations: 124 kB / 1.243 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.4559, allocations: 499.6 kB / 1.244 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004957/0.4564, allocations: 326.9 kB / 1.244 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005371/0.4569, allocations: 0.5868 MB / 1.245 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.4591, allocations: 1.721 MB / 1.247 GB, free: 14.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4591, allocations: 3.938 kB / 1.247 GB, free: 14.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4591, allocations: 0 / 1.247 GB, free: 14.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.4592, allocations: 0 / 1.247 GB, free: 14.52 MB / 1.014 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.002788/0.462, allocations: 1.485 MB / 1.248 GB, free: 12.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.462, allocations: 12.03 kB / 1.248 GB, free: 12.97 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002068/0.4622, allocations: 156.3 kB / 1.248 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.4639, allocations: 299.2 kB / 1.248 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.4653, allocations: 0.7926 MB / 1.249 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.541e-05/0.4653, allocations: 70 kB / 1.249 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.4655, allocations: 95.94 kB / 1.249 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.4674, allocations: 1.074 MB / 1.25 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.4675, allocations: 0 / 1.25 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-05/0.4676, allocations: 44 kB / 1.25 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.4676, allocations: 24 kB / 1.25 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/0.4701, allocations: 1.272 MB / 1.252 GB, free: 9.066 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005742/0.4759, allocations: 2.676 MB / 1.254 GB, free: 6.328 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.4791, allocations: 1.021 MB / 1.255 GB, free: 5.285 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008439/0.4799, allocations: 358.6 kB / 1.256 GB, free: 4.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-05/0.48, allocations: 34.47 kB / 1.256 GB, free: 4.898 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.4813, allocations: 0.5471 MB / 1.256 GB, free: 4.328 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.257e-06/0.4813, allocations: 0 / 1.256 GB, free: 4.328 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004274/0.4856, allocations: 1.38 MB / 1.258 GB, free: 2.926 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/0.4858, allocations: 196.9 kB / 1.258 GB, free: 2.691 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.4869, allocations: 0.6526 MB / 1.258 GB, free: 2.031 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-05/0.487, allocations: 41.7 kB / 1.258 GB, free: 1.984 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.4874, allocations: 432.2 kB / 1.259 GB, free: 1.555 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.4877, allocations: 268.1 kB / 1.259 GB, free: 1.289 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.4879, allocations: 154.5 kB / 1.259 GB, free: 1.129 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.4881, allocations: 386.8 kB / 1.26 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007632/0.4889, allocations: 301.8 kB / 1.26 GB, free: 460 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008647/0.4898, allocations: 418.5 kB / 1.26 GB, free: 16 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8729/1.363, allocations: 0.6782 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.363, allocations: 0.6875 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003097/1.366, allocations: 0.9164 MB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/1.366, allocations: 5.281 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.366, allocations: 3.797 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006663/1.367, allocations: 82.38 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009304/1.367, allocations: 176.6 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/1.37, allocations: 1.635 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009916/1.371, allocations: 108.8 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/1.371, allocations: 31.09 kB / 1.264 GB, free: 171.9 MB / 1.014 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.0005627/1.371, allocations: 289.4 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/1.371, allocations: 83.41 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/1.375, allocations: 1.2 MB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/1.375, allocations: 10.61 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.375, allocations: 3.938 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/1.375, allocations: 5.531 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004693/1.38, allocations: 2.154 MB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.38, allocations: 0.6875 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/1.381, allocations: 185.7 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005107/1.381, allocations: 69.45 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.782e-05/1.381, allocations: 26.09 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/1.383, allocations: 1.657 MB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.383, allocations: 1.719 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/1.386, allocations: 1.122 MB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/1.387, allocations: 282.2 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.387, allocations: 22.56 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/1.388, allocations: 83.67 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/1.388, allocations: 75.73 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.455e-05/1.388, allocations: 34.66 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007508/1.389, allocations: 471.5 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.389, allocations: 0 / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00129/1.39, allocations: 321.5 kB / 1.272 GB, free: 168 MB / 1.014 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.004727/1.395, allocations: 2.173 MB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002617/1.397, allocations: 0.9204 MB / 1.275 GB, free: 166.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.397, allocations: 0 / 1.275 GB, free: 166.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/1.399, allocations: 0.5832 MB / 1.275 GB, free: 166.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.4, allocations: 296 kB / 1.276 GB, free: 166.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/1.416, allocations: 6.833 MB / 1.282 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.417, allocations: 1.052 MB / 1.283 GB, free: 162.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001618/1.419, allocations: 285.3 kB / 1.284 GB, free: 162.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000839/1.42, allocations: 420.2 kB / 1.284 GB, free: 161.8 MB / 1.014 GB Notification: Performance of SimCode: time 2.023e-06/1.42, allocations: 0 / 1.284 GB, free: 161.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6122/2.032, allocations: 22.67 MB / 1.306 GB, free: 153.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.57/23.6, allocations: 10.25 kB / 1.306 GB, free: 153.7 MB / 1.014 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