Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_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.007312/0.007312, allocations: 101.6 kB / 15.73 MB, free: 6.48 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.001677/0.001677, allocations: 196.1 kB / 16.67 MB, free: 6.379 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3254, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007083/0.3325, allocations: 5.178 MB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8027/1.135, allocations: 150.7 MB / 1.318 GB, free: 9.992 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/1.136, allocations: 15.66 kB / 1.318 GB, free: 9.988 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009007/1.137, allocations: 202.1 kB / 1.319 GB, free: 9.879 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002354/1.14, allocations: 0.5684 MB / 1.319 GB, free: 9.625 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/1.142, allocations: 0.8609 MB / 1.32 GB, free: 9.457 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002265/1.144, allocations: 1.457 MB / 1.321 GB, free: 9.18 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/1.146, allocations: 0.6648 MB / 1.322 GB, free: 9.008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/1.147, allocations: 0.5244 MB / 1.323 GB, free: 8.898 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/1.148, allocations: 0.5511 MB / 1.323 GB, free: 8.758 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004625/1.148, allocations: 127.8 kB / 1.323 GB, free: 8.758 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/1.15, allocations: 0.4917 MB / 1.324 GB, free: 8.727 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/1.15, allocations: 317.3 kB / 1.324 GB, free: 8.66 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006749/1.151, allocations: 0.6129 MB / 1.325 GB, free: 8.254 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/1.153, allocations: 1.753 MB / 1.326 GB, free: 7.512 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.153, allocations: 0 / 1.326 GB, free: 7.512 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.412e-06/1.153, allocations: 5.406 kB / 1.326 GB, free: 7.508 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.282e-05/1.153, allocations: 0 / 1.326 GB, free: 7.508 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.002872/1.156, allocations: 1.516 MB / 1.328 GB, free: 6.496 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.156, allocations: 8.5 kB / 1.328 GB, free: 6.496 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/1.156, allocations: 149.8 kB / 1.328 GB, free: 6.398 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/1.158, allocations: 309.3 kB / 1.328 GB, free: 6.324 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/1.159, allocations: 0.7932 MB / 1.329 GB, free: 5.809 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-05/1.159, allocations: 72.53 kB / 1.329 GB, free: 5.777 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/1.159, allocations: 97.14 kB / 1.329 GB, free: 5.746 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/1.161, allocations: 1.064 MB / 1.33 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/1.161, allocations: 3.984 kB / 1.33 GB, free: 5.285 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/1.161, allocations: 42.72 kB / 1.33 GB, free: 5.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/1.161, allocations: 27.78 kB / 1.33 GB, free: 5.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/1.164, allocations: 1.266 MB / 1.331 GB, free: 4.965 MB / 1.014 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.004679/1.169, allocations: 2.96 MB / 1.334 GB, free: 3.219 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/1.171, allocations: 1.031 MB / 1.335 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000796/1.172, allocations: 361.2 kB / 1.336 GB, free: 2.656 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.494e-05/1.172, allocations: 33.83 kB / 1.336 GB, free: 2.645 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/1.173, allocations: 0.5552 MB / 1.336 GB, free: 2.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 2.544e-06/1.173, allocations: 0 / 1.336 GB, free: 2.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.00387/1.177, allocations: 1.387 MB / 1.338 GB, free: 1.883 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.177, allocations: 190.2 kB / 1.338 GB, free: 1.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008273/1.178, allocations: 0.6408 MB / 1.338 GB, free: 1.379 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/1.178, allocations: 42.77 kB / 1.339 GB, free: 1.336 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/1.178, allocations: 427.7 kB / 1.339 GB, free: 1.004 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/1.179, allocations: 273.6 kB / 1.339 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/1.179, allocations: 150.9 kB / 1.339 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.179, allocations: 386.2 kB / 1.34 GB, free: 388 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007889/1.18, allocations: 306 kB / 1.34 GB, free: 288 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008857/1.181, allocations: 416.5 kB / 1.34 GB, free: 88 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/1.182, allocations: 0.6892 MB / 1.341 GB, free: 15.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.182, allocations: 7.938 kB / 1.341 GB, free: 15.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002388/1.185, allocations: 0.9241 MB / 1.342 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.185, allocations: 7.219 kB / 1.342 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.185, allocations: 1.094 kB / 1.342 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/1.186, allocations: 79 kB / 1.342 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/1.186, allocations: 177.8 kB / 1.342 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/1.189, allocations: 1.641 MB / 1.344 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008364/1.189, allocations: 110.2 kB / 1.344 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/1.19, allocations: 31.02 kB / 1.344 GB, free: 13.8 MB / 1.029 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.0004577/1.19, allocations: 275.2 kB / 1.344 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/1.19, allocations: 83 kB / 1.344 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/1.193, allocations: 1.21 MB / 1.345 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.193, allocations: 9.156 kB / 1.345 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.193, allocations: 1.031 kB / 1.345 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/1.193, allocations: 6.797 kB / 1.345 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/1.197, allocations: 2.136 MB / 1.348 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.198, allocations: 1.094 kB / 1.348 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/1.198, allocations: 174.4 kB / 1.348 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/1.199, allocations: 71.72 kB / 1.348 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-05/1.199, allocations: 27.86 kB / 1.348 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/1.201, allocations: 1.659 MB / 1.349 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.201, allocations: 2.438 kB / 1.349 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/1.203, allocations: 1.117 MB / 1.351 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/1.204, allocations: 281.4 kB / 1.351 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/1.204, allocations: 25.84 kB / 1.351 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008644/1.205, allocations: 89.73 kB / 1.351 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.205, allocations: 72.19 kB / 1.351 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-05/1.205, allocations: 38.73 kB / 1.351 GB, free: 9.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006902/1.206, allocations: 468.3 kB / 1.351 GB, free: 9.547 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.653e-06/1.206, allocations: 0 / 1.351 GB, free: 9.547 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001237/1.207, allocations: 350.1 kB / 1.352 GB, free: 9.449 MB / 1.029 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.004292/1.212, allocations: 2.171 MB / 1.354 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002156/1.214, allocations: 0.9201 MB / 1.355 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.214, allocations: 0 / 1.355 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/1.215, allocations: 0.5881 MB / 1.355 GB, free: 7.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.216, allocations: 309.1 kB / 1.356 GB, free: 7.543 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/1.229, allocations: 6.721 MB / 1.362 GB, free: 3.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/1.229, allocations: 1.053 MB / 1.363 GB, free: 2.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009093/1.23, allocations: 277 kB / 1.364 GB, free: 2.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006119/1.231, allocations: 426.6 kB / 1.364 GB, free: 2.137 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/1.231, allocations: 0 / 1.364 GB, free: 2.137 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05432/1.285, allocations: 22.67 MB / 1.386 GB, free: 3.113 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/13.27, allocations: 4.062 kB / 1.386 GB, free: 3.109 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches