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.00168/0.00168, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002088/0.002088, allocations: 216.7 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.293/3.293, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 70.42 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4142, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002345/0.4165, allocations: 0.7038 MB / 1.346 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003067/0.4196, allocations: 1.54 MB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.4197, allocations: 7.938 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.478e-05/0.4198, allocations: 3.938 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.42, allocations: 19.84 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.4208, allocations: 167.4 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.4211, allocations: 115.6 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.4212, allocations: 20.27 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.4215, allocations: 55.83 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.4217, allocations: 51.81 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.4217, allocations: 19.94 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.4221, allocations: 115.9 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.4221, allocations: 23.92 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.4222, allocations: 39.86 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006211/0.4229, allocations: 223.3 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.4229, allocations: 0 / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4229, allocations: 0 / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.4229, allocations: 0 / 1.348 GB, free: 12.84 MB / 1.045 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.0009229/0.4238, allocations: 369.6 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4239, allocations: 8.031 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.4239, allocations: 4.188 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.486e-05/0.4239, allocations: 30.75 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/0.4243, allocations: 32.86 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.4245, allocations: 126.4 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.4246, allocations: 59.97 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.4246, allocations: 8.125 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.4248, allocations: 101.7 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4248, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.4248, allocations: 11.98 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.4248, allocations: 0 / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.425, allocations: 47.91 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/0.4258, allocations: 476.1 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/0.4264, allocations: 131.7 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.4265, allocations: 50.58 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.4266, allocations: 4.078 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.427, allocations: 113.9 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.794e-06/0.427, allocations: 0 / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0004432/0.4274, allocations: 137.5 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.4275, allocations: 114.8 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.4277, allocations: 126.2 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.4277, allocations: 37.7 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.4278, allocations: 92.44 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.4279, allocations: 35.67 kB / 1.35 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.428, allocations: 33.7 kB / 1.35 GB, free: 10.47 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4281, allocations: 322.8 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.4282, allocations: 31.98 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.4283, allocations: 46.59 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.4285, allocations: 80.78 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4285, allocations: 0 / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002756/0.4288, allocations: 125.6 kB / 1.351 GB, free: 9.863 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4288, allocations: 10.03 kB / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4288, allocations: 0 / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4289, allocations: 0 / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.429, allocations: 23.92 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.429, allocations: 0 / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.4291, allocations: 23.81 kB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.4291, allocations: 4 kB / 1.351 GB, free: 9.805 MB / 1.045 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 0.0001247/0.4293, allocations: 121.8 kB / 1.351 GB, free: 9.676 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.4293, allocations: 7.953 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.4296, allocations: 122.1 kB / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.4296, allocations: 0 / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.4296, allocations: 4 kB / 1.351 GB, free: 9.535 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4296, allocations: 3.938 kB / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.4298, allocations: 176.6 kB / 1.351 GB, free: 9.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4298, allocations: 0 / 1.351 GB, free: 9.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.4299, allocations: 27.92 kB / 1.351 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4299, allocations: 3.938 kB / 1.351 GB, free: 9.285 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.4299, allocations: 4.312 kB / 1.351 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4299, allocations: 4 kB / 1.351 GB, free: 9.277 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.4299, allocations: 8 kB / 1.351 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.4302, allocations: 177.1 kB / 1.352 GB, free: 9.074 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.4303, allocations: 19.88 kB / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.4303, allocations: 15.89 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.4304, allocations: 7.984 kB / 1.352 GB, free: 9.031 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.4305, allocations: 15.92 kB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.4305, allocations: 4 kB / 1.352 GB, free: 9.012 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.13e-05/0.4306, allocations: 99.27 kB / 1.352 GB, free: 8.914 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4306, allocations: 0 / 1.352 GB, free: 8.914 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003487/0.4309, allocations: 75.73 kB / 1.352 GB, free: 8.84 MB / 1.045 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.0008171/0.4317, allocations: 0.7798 MB / 1.353 GB, free: 8.027 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.432, allocations: 87.91 kB / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.432, allocations: 0 / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.4321, allocations: 51.86 kB / 1.353 GB, free: 7.891 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.4323, allocations: 16.67 kB / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.4344, allocations: 1.549 MB / 1.354 GB, free: 6.23 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.145e-05/0.4345, allocations: 93.25 kB / 1.354 GB, free: 6.117 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.011e-05/0.4346, allocations: 20.47 kB / 1.354 GB, free: 6.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.482e-05/0.4347, allocations: 35.42 kB / 1.354 GB, free: 6.059 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.4347, allocations: 4 kB / 1.354 GB, free: 6.055 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.4671, allocations: 3.447 MB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.19, allocations: 5.953 kB / 1.358 GB, free: 2.754 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.20911125803832] Failed to read output from testmodel.py, exit status != 0: 12.364719507051632 12.392784082 11.964586284 Calling exit ...