Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007426/0.0007426, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008332/0.0008332, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8949/0.8949, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.795/1.795, allocations: 389 MB / 0.633 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.087e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001292/0.001313, allocations: 0.714 MB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.002704, allocations: 1.549 MB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.002752, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.002782, allocations: 7.922 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.002934, allocations: 23.8 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.003248, allocations: 171.3 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.00337, allocations: 119.6 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.003463, allocations: 15.97 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.003621, allocations: 71.88 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.003693, allocations: 43.88 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.003713, allocations: 8 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.003859, allocations: 123.8 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.003883, allocations: 27.91 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.00392, allocations: 35.91 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.004153, allocations: 239.3 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.004159, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.433e-06/0.00416, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004164, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004878/0.004652, allocations: 357.6 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.004691, allocations: 16.75 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.772e-05/0.004719, allocations: 30.75 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.004903, allocations: 32.77 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.338e-05/0.004997, allocations: 129.6 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/0.005056, allocations: 59.97 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.00507, allocations: 8.375 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.005213, allocations: 103.2 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.005223, allocations: 4.125 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.005236, allocations: 7.938 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.005241, allocations: 8 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.005315, allocations: 39.97 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.005761, allocations: 476.1 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.006066, allocations: 131.8 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.006122, allocations: 50.66 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.006141, allocations: 0 / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.006314, allocations: 121.8 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.006315, allocations: 0 / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0002425/0.006557, allocations: 141.5 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.006601, allocations: 106.8 kB / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.822e-05/0.006669, allocations: 125.8 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.006684, allocations: 29.64 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.006727, allocations: 100.4 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.006748, allocations: 35.86 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.006791, allocations: 33.7 kB / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.006863, allocations: 326.8 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.006993, allocations: 35.92 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.994e-05/0.007043, allocations: 35.98 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.007158, allocations: 79.73 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.00716, allocations: 0 / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001531/0.007313, allocations: 129.6 kB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.007326, allocations: 8 kB / 1.005 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.007331, allocations: 0 / 1.005 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.007342, allocations: 4 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.007415, allocations: 23.92 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.00742, allocations: 0 / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.007461, allocations: 11.92 kB / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.007471, allocations: 8 kB / 1.005 GB, free: 7.391 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.007543, allocations: 126 kB / 1.005 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.007556, allocations: 7.953 kB / 1.005 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.00773, allocations: 118 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007732, allocations: 4 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.007737, allocations: 0 / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007741, allocations: 4 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.007863, allocations: 184.5 kB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007864, allocations: 320 / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.007916, allocations: 27.92 kB / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.007919, allocations: 0 / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.007929, allocations: 8 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007931, allocations: 0 / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007932, allocations: 0 / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.008103, allocations: 174.6 kB / 1.006 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.008143, allocations: 27.88 kB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.008161, allocations: 8 kB / 1.006 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.008199, allocations: 7.984 kB / 1.006 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.008236, allocations: 11.98 kB / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.008244, allocations: 4 kB / 1.006 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.083e-05/0.008285, allocations: 103.2 kB / 1.006 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.008285, allocations: 0 / 1.006 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002005/0.008485, allocations: 67.73 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004499/0.008935, allocations: 0.7894 MB / 1.007 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.009107, allocations: 101.7 kB / 1.007 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009108, allocations: 0 / 1.007 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.11e-05/0.009169, allocations: 47.92 kB / 1.007 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.009331, allocations: 11.98 kB / 1.007 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.0105, allocations: 1.559 MB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.264e-05/0.01055, allocations: 89.45 kB / 1.009 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.082e-05/0.0106, allocations: 15.98 kB / 1.009 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.01066, allocations: 36.48 kB / 1.009 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of SimCode: time 6.12e-07/0.01066, allocations: 0 / 1.009 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.02904, allocations: 3.912 MB / 1.013 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.794, allocations: 13.09 kB / 1.013 GB, free: 15.86 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv --start-time 0 --stop-time 604800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.971646660938859]