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.001313/0.001313, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0009313/0.0009313, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9145/0.9145, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.935/1.935, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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 1.633e-06/1.633e-06, allocations: 0 / 1.001 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.155e-05, allocations: 2.281 kB / 1.001 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001438/0.001459, allocations: 0.7037 MB / 1.001 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.002974, allocations: 1.557 MB / 1.003 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.003034, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.003062, allocations: 3.938 kB / 1.003 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.003234, allocations: 23.78 kB / 1.003 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.003612, allocations: 171.3 kB / 1.003 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.003758, allocations: 127.6 kB / 1.003 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.003866, allocations: 11.98 kB / 1.003 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.004049, allocations: 79.8 kB / 1.003 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.004128, allocations: 35.91 kB / 1.003 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.00415, allocations: 12 kB / 1.003 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.004325, allocations: 123.8 kB / 1.003 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.004351, allocations: 23.97 kB / 1.003 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.004393, allocations: 27.92 kB / 1.003 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.004665, allocations: 247.3 kB / 1.004 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.004668, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004669, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004673, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9167 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.0008127/0.005486, allocations: 361.6 kB / 1.004 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.005527, allocations: 9.344 kB / 1.004 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.005565, allocations: 42.73 kB / 1.004 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.005787, allocations: 24.88 kB / 1.004 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.005892, allocations: 129.6 kB / 1.004 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/0.005962, allocations: 59.95 kB / 1.004 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.005979, allocations: 8.375 kB / 1.004 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.006135, allocations: 92.8 kB / 1.004 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.006144, allocations: 8.172 kB / 1.004 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006156, allocations: 3.938 kB / 1.004 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.006161, allocations: 0 / 1.004 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.006245, allocations: 51.91 kB / 1.004 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.006791, allocations: 476.1 kB / 1.005 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/0.007142, allocations: 135.7 kB / 1.005 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.007196, allocations: 42.66 kB / 1.005 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.007217, allocations: 0 / 1.005 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.00745, allocations: 117.9 kB / 1.005 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.007451, allocations: 0 / 1.005 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0002896/0.00774, allocations: 149.7 kB / 1.005 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.007799, allocations: 114.7 kB / 1.005 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.00789, allocations: 125.7 kB / 1.006 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.007908, allocations: 33.7 kB / 1.006 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.007956, allocations: 92.47 kB / 1.006 GB, free: 7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.007983, allocations: 35.7 kB / 1.006 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.008031, allocations: 33.7 kB / 1.006 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.008113, allocations: 326.8 kB / 1.006 GB, free: 6.598 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.008183, allocations: 40.11 kB / 1.006 GB, free: 6.559 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.324e-05/0.008236, allocations: 31.98 kB / 1.006 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.008356, allocations: 90.95 kB / 1.006 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.008359, allocations: 0 / 1.006 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001618/0.00852, allocations: 121.6 kB / 1.006 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.008534, allocations: 4 kB / 1.006 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.008539, allocations: 0 / 1.006 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.008553, allocations: 0 / 1.006 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.00863, allocations: 27.92 kB / 1.006 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.008636, allocations: 0 / 1.006 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.008682, allocations: 15.92 kB / 1.006 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.008692, allocations: 4 kB / 1.006 GB, free: 6.262 MB / 0.9167 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 8.438e-05/0.008776, allocations: 128.7 kB / 1.006 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.008791, allocations: 11.94 kB / 1.006 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.008979, allocations: 118.2 kB / 1.007 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.008983, allocations: 4 kB / 1.007 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.008988, allocations: 0 / 1.007 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.008993, allocations: 3.984 kB / 1.007 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.009123, allocations: 180.6 kB / 1.007 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.009125, allocations: 0 / 1.007 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.009181, allocations: 23.92 kB / 1.007 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.009185, allocations: 4 kB / 1.007 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.009194, allocations: 0 / 1.007 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.009197, allocations: 3.938 kB / 1.007 GB, free: 5.734 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.009198, allocations: 4 kB / 1.007 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.009381, allocations: 181.2 kB / 1.007 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.009425, allocations: 19.88 kB / 1.007 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.009444, allocations: 8.125 kB / 1.007 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.437e-05/0.009488, allocations: 15.98 kB / 1.007 GB, free: 5.488 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.009534, allocations: 11.98 kB / 1.007 GB, free: 5.477 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.009543, allocations: 7.984 kB / 1.007 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.009589, allocations: 102.3 kB / 1.007 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009589, allocations: 0 / 1.007 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002288/0.009817, allocations: 71.69 kB / 1.007 GB, free: 5.301 MB / 0.9167 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.000528/0.01035, allocations: 0.7777 MB / 1.008 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.01053, allocations: 95.84 kB / 1.008 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01053, allocations: 0 / 1.008 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.721e-05/0.0106, allocations: 55.84 kB / 1.008 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.01077, allocations: 12 kB / 1.008 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.01212, allocations: 1.561 MB / 1.01 GB, free: 2.668 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.686e-05/0.01218, allocations: 85.44 kB / 1.01 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.207e-05/0.01223, allocations: 16.62 kB / 1.01 GB, free: 2.543 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.01229, allocations: 36.48 kB / 1.01 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.01229, allocations: 0 / 1.01 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08201/0.0943, allocations: 3.912 MB / 1.014 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.503, allocations: 0 / 1.014 GB, free: 14.75 MB / 0.9323 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.318213724531233]