Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009191/0.0009191, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.001041/0.001041, allocations: 207.8 kB / 23.02 MB, free: 2.961 MB / 13.93 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.9352/0.9352, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.989/1.989, allocations: 0.5046 GB / 0.8104 GB, free: 2.75 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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_13_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009207/0.0009207, allocations: 63.91 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.7699, allocations: 180 MB / 1.352 GB, free: 1.684 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001542/0.7714, allocations: 0.7122 MB / 1.353 GB, free: 0.9727 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.7729, allocations: 1.54 MB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.7729, allocations: 0 / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.773, allocations: 15.8 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.7731, allocations: 19.86 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.7735, allocations: 164.6 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.7736, allocations: 119.7 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.7737, allocations: 18.23 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.7739, allocations: 51.84 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/0.774, allocations: 47.81 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.774, allocations: 12 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.7741, allocations: 115.9 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.7742, allocations: 31.91 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.7742, allocations: 35.86 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.7744, allocations: 219.3 kB / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7744, allocations: 4 kB / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7744, allocations: 0 / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.7745, allocations: 3.938 kB / 1.355 GB, free: 14.57 MB / 1.042 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.0005153/0.775, allocations: 359.4 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.775, allocations: 12.92 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.775, allocations: 34.73 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.7752, allocations: 28.88 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.7753, allocations: 118.4 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.356e-05/0.7754, allocations: 63.97 kB / 1.356 GB, free: 13.9 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.7754, allocations: 12.36 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.7756, allocations: 104.1 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.7756, allocations: 0 / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.7756, allocations: 7.984 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.7756, allocations: 4 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.029e-05/0.7757, allocations: 43.91 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.7763, allocations: 488.1 kB / 1.357 GB, free: 13.19 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.7766, allocations: 131.7 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.7767, allocations: 46.59 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.7767, allocations: 4 kB / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.7769, allocations: 113.9 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.7769, allocations: 4 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0002453/0.7771, allocations: 141.5 kB / 1.357 GB, free: 12.69 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.7772, allocations: 114.8 kB / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.7772, allocations: 125.7 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.7772, allocations: 29.7 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.7773, allocations: 92.41 kB / 1.357 GB, free: 12.29 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.7773, allocations: 27.75 kB / 1.357 GB, free: 12.26 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.7774, allocations: 37.66 kB / 1.357 GB, free: 12.22 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.7774, allocations: 322.8 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.7775, allocations: 36.11 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.7775, allocations: 42.8 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.7777, allocations: 80.77 kB / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7777, allocations: 0 / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001592/0.7778, allocations: 129.6 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.7778, allocations: 6.5 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.7778, allocations: 0 / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7778, allocations: 4 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.7779, allocations: 15.98 kB / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.7779, allocations: 4 kB / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.778, allocations: 19.92 kB / 1.358 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.778, allocations: 4 kB / 1.358 GB, free: 11.55 MB / 1.042 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.481e-05/0.778, allocations: 122.3 kB / 1.358 GB, free: 11.43 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.7781, allocations: 11.94 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.7782, allocations: 118 kB / 1.358 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.7782, allocations: 4 kB / 1.358 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7782, allocations: 0 / 1.358 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.7782, allocations: 11.92 kB / 1.358 GB, free: 11.28 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.7784, allocations: 177 kB / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7784, allocations: 0 / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.7784, allocations: 27.98 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7784, allocations: 0 / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.7784, allocations: 4 kB / 1.359 GB, free: 11.03 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.7784, allocations: 3.938 kB / 1.359 GB, free: 11.03 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7784, allocations: 0 / 1.359 GB, free: 11.03 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.7786, allocations: 184.8 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.7786, allocations: 23.92 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.7787, allocations: 4 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.7787, allocations: 7.984 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.7787, allocations: 27.86 kB / 1.359 GB, free: 10.76 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.7788, allocations: 7.984 kB / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.7788, allocations: 100.8 kB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7788, allocations: 3.938 kB / 1.359 GB, free: 10.65 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001987/0.779, allocations: 63.75 kB / 1.359 GB, free: 10.59 MB / 1.042 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.0004594/0.7795, allocations: 0.7777 MB / 1.36 GB, free: 9.777 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.7796, allocations: 86.36 kB / 1.36 GB, free: 9.695 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7796, allocations: 0 / 1.36 GB, free: 9.695 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.481e-05/0.7797, allocations: 55.86 kB / 1.36 GB, free: 9.641 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.7799, allocations: 15.92 kB / 1.36 GB, free: 9.625 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.781, allocations: 1.548 MB / 1.361 GB, free: 7.98 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.426e-05/0.7811, allocations: 93.23 kB / 1.361 GB, free: 7.867 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.264e-05/0.7812, allocations: 21.61 kB / 1.362 GB, free: 7.848 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.7812, allocations: 35.42 kB / 1.362 GB, free: 7.812 MB / 1.042 GB Notification: Performance of SimCode: time 6.61e-07/0.7812, allocations: 0 / 1.362 GB, free: 7.812 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/0.8878, allocations: 3.765 MB / 1.365 GB, free: 4.199 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/8.007, allocations: 6.75 kB / 1.365 GB, free: 4.195 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu) > Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_fmpy_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 ../Buildings_13_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu) > Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.816371730528772]