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 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.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.008312/0.008313, allocations: 101.3 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.001937/0.001937, allocations: 185.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 1.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.834/2.834, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.84 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2859, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006706/0.2927, allocations: 5.162 MB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8366/1.129, allocations: 150.7 MB / 1.359 GB, free: 9.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009038/1.13, allocations: 16.16 kB / 1.359 GB, free: 9.176 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008117/1.131, allocations: 200 kB / 1.36 GB, free: 9.047 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/1.133, allocations: 0.5591 MB / 1.36 GB, free: 8.727 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/1.135, allocations: 0.8624 MB / 1.361 GB, free: 8.281 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001939/1.137, allocations: 1.46 MB / 1.362 GB, free: 7.527 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009438/1.138, allocations: 0.6597 MB / 1.363 GB, free: 7.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000765/1.139, allocations: 0.5175 MB / 1.364 GB, free: 6.922 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/1.14, allocations: 0.5533 MB / 1.364 GB, free: 6.629 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/1.14, allocations: 127.8 kB / 1.364 GB, free: 6.629 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009938/1.141, allocations: 0.4938 MB / 1.365 GB, free: 6.512 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/1.141, allocations: 317.3 kB / 1.365 GB, free: 6.312 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005266/1.142, allocations: 0.6124 MB / 1.366 GB, free: 5.906 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/1.144, allocations: 1.752 MB / 1.367 GB, free: 5.164 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.144, allocations: 5.094 kB / 1.367 GB, free: 5.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 8.52e-07/1.144, allocations: 0 / 1.367 GB, free: 5.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.021e-05/1.144, allocations: 0.75 kB / 1.367 GB, free: 5.16 MB / 1.061 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.002645/1.146, allocations: 1.515 MB / 1.369 GB, free: 4.145 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.146, allocations: 9.406 kB / 1.369 GB, free: 4.145 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/1.147, allocations: 149.9 kB / 1.369 GB, free: 4.047 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/1.148, allocations: 314.3 kB / 1.369 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/1.15, allocations: 0.7861 MB / 1.37 GB, free: 3.457 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/1.15, allocations: 75.84 kB / 1.37 GB, free: 3.422 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.15, allocations: 90.53 kB / 1.37 GB, free: 3.395 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/1.152, allocations: 1.07 MB / 1.371 GB, free: 2.938 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.152, allocations: 4 kB / 1.371 GB, free: 2.934 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/1.152, allocations: 37.47 kB / 1.371 GB, free: 2.906 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/1.152, allocations: 27.73 kB / 1.371 GB, free: 2.902 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/1.154, allocations: 1.271 MB / 1.373 GB, free: 2.371 MB / 1.061 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.004624/1.159, allocations: 2.949 MB / 1.375 GB, free: 44 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/1.162, allocations: 1.029 MB / 1.376 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008229/1.162, allocations: 363.9 kB / 1.377 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.474e-05/1.162, allocations: 31.97 kB / 1.377 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/1.164, allocations: 0.5623 MB / 1.377 GB, free: 14.94 MB / 1.076 GB Notification: Performance of pre-optimization done (n=84): time 2.305e-06/1.164, allocations: 0 / 1.377 GB, free: 14.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=84): time 0.004144/1.168, allocations: 1.377 MB / 1.379 GB, free: 14.22 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.168, allocations: 202.3 kB / 1.379 GB, free: 13.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008937/1.169, allocations: 0.6356 MB / 1.38 GB, free: 13.61 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.177e-05/1.169, allocations: 42.39 kB / 1.38 GB, free: 13.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/1.169, allocations: 434.4 kB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/1.17, allocations: 266.2 kB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/1.17, allocations: 148.8 kB / 1.38 GB, free: 12.87 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.17, allocations: 393.9 kB / 1.381 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007583/1.171, allocations: 298.6 kB / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008627/1.172, allocations: 426.3 kB / 1.381 GB, free: 12.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/1.173, allocations: 0.6893 MB / 1.382 GB, free: 11.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.173, allocations: 0 / 1.382 GB, free: 11.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002568/1.176, allocations: 0.9219 MB / 1.383 GB, free: 11.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.176, allocations: 6.344 kB / 1.383 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.176, allocations: 0.7812 kB / 1.383 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/1.176, allocations: 85.45 kB / 1.383 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/1.177, allocations: 181.8 kB / 1.383 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/1.179, allocations: 1.632 MB / 1.385 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009192/1.18, allocations: 108.2 kB / 1.385 GB, free: 9.523 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/1.18, allocations: 32.61 kB / 1.385 GB, free: 9.512 MB / 1.076 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.0005241/1.181, allocations: 276.8 kB / 1.385 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/1.181, allocations: 83.84 kB / 1.385 GB, free: 9.25 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/1.184, allocations: 1.211 MB / 1.387 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/1.184, allocations: 10.09 kB / 1.387 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/1.184, allocations: 1.188 kB / 1.387 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.184, allocations: 3.984 kB / 1.387 GB, free: 8.578 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004251/1.189, allocations: 2.146 MB / 1.389 GB, free: 7.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.189, allocations: 0 / 1.389 GB, free: 7.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007504/1.189, allocations: 172.1 kB / 1.389 GB, free: 7.141 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/1.19, allocations: 73.25 kB / 1.389 GB, free: 7.102 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/1.19, allocations: 31.12 kB / 1.389 GB, free: 7.078 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/1.192, allocations: 1.667 MB / 1.391 GB, free: 5.453 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.192, allocations: 0 / 1.391 GB, free: 5.453 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/1.194, allocations: 1.109 MB / 1.392 GB, free: 4.848 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/1.195, allocations: 277.6 kB / 1.392 GB, free: 4.605 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/1.195, allocations: 31.98 kB / 1.392 GB, free: 4.582 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008778/1.196, allocations: 85.72 kB / 1.392 GB, free: 4.539 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.196, allocations: 80.39 kB / 1.392 GB, free: 4.496 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.732e-05/1.196, allocations: 34.44 kB / 1.392 GB, free: 4.484 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008016/1.197, allocations: 475.5 kB / 1.393 GB, free: 4.215 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.21e-07/1.197, allocations: 0 / 1.393 GB, free: 4.215 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001379/1.199, allocations: 341.7 kB / 1.393 GB, free: 4.117 MB / 1.076 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.004597/1.203, allocations: 2.167 MB / 1.395 GB, free: 2.789 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002281/1.205, allocations: 0.9136 MB / 1.396 GB, free: 2.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.205, allocations: 2.969 kB / 1.396 GB, free: 2.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/1.207, allocations: 0.5866 MB / 1.397 GB, free: 1.996 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.208, allocations: 309.5 kB / 1.397 GB, free: 1.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/1.221, allocations: 6.729 MB / 1.403 GB, free: 13.54 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007366/1.222, allocations: 1.051 MB / 1.404 GB, free: 12.45 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001094/1.223, allocations: 274.9 kB / 1.405 GB, free: 12.18 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007214/1.224, allocations: 427.2 kB / 1.405 GB, free: 11.76 MB / 1.092 GB Notification: Performance of SimCode: time 1.252e-06/1.224, allocations: 0 / 1.405 GB, free: 11.76 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0541/1.278, allocations: 23.11 MB / 1.428 GB, free: 5.016 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/14.07, allocations: 8.484 kB / 1.428 GB, free: 5.012 MB / 1.107 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/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) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches