Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001975/0.001975, 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.002279/0.002279, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.313/3.313, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_12_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.002171/0.002171, allocations: 65.88 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3804, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002294/0.3827, allocations: 0.7031 MB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002598/0.3853, allocations: 1.548 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.3853, allocations: 4 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.3854, allocations: 7.875 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.3856, allocations: 19.84 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.3861, allocations: 163.4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.3863, allocations: 119.6 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3864, allocations: 12.27 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.3867, allocations: 59.89 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3868, allocations: 51.81 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.3868, allocations: 12 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.3871, allocations: 119.9 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.3871, allocations: 23.92 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.087e-05/0.3872, allocations: 43.78 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.3876, allocations: 223.2 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3876, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3876, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3876, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 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.0008551/0.3884, allocations: 357.6 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3885, allocations: 8.031 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.263e-05/0.3885, allocations: 8.188 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.3886, allocations: 34.75 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.3889, allocations: 32.86 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3891, allocations: 126.4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.046e-05/0.3892, allocations: 59.91 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.3892, allocations: 12.12 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.3894, allocations: 97.72 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3894, allocations: 3.938 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.3895, allocations: 11.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3895, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.3896, allocations: 43.91 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007659/0.3904, allocations: 480.1 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.3909, allocations: 131.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.391, allocations: 46.52 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.391, allocations: 4.078 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002852/0.3913, allocations: 113.9 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/0.3913, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000378/0.3917, allocations: 145.5 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/0.3918, allocations: 110.9 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3919, allocations: 129.8 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.3919, allocations: 33.7 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.392, allocations: 88.38 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.392, allocations: 31.73 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.3921, allocations: 33.7 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3922, allocations: 322.8 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.962e-05/0.3923, allocations: 31.98 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.135e-05/0.3924, allocations: 42.36 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.3926, allocations: 80.72 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3926, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002758/0.3929, allocations: 127.4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3929, allocations: 9.562 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3929, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3929, allocations: 3.938 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.393, allocations: 19.98 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3931, allocations: 3.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3932, allocations: 23.81 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.3932, allocations: 8 kB / 1.332 GB, free: 11.34 MB / 1.029 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.0001144/0.3933, allocations: 123 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.3933, allocations: 7.953 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.3936, allocations: 114.1 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3936, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.3936, allocations: 4 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.3936, allocations: 3.938 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.3938, allocations: 180.6 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3938, allocations: 4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.3939, allocations: 19.98 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3939, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.394, allocations: 11.94 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.394, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.394, allocations: 3.938 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.3942, allocations: 175 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.3943, allocations: 23.88 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.3943, allocations: 12 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/0.3944, allocations: 7.984 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.3945, allocations: 19.92 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3945, allocations: 7.938 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.809e-05/0.3946, allocations: 99.77 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3946, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003347/0.3949, allocations: 67.73 kB / 1.333 GB, free: 10.39 MB / 1.029 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.0008312/0.3957, allocations: 0.7912 MB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.396, allocations: 87.91 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.396, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3961, allocations: 51.86 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.3963, allocations: 19.92 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.3984, allocations: 1.545 MB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.3985, allocations: 89.22 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.93e-05/0.3986, allocations: 24.47 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.119e-05/0.3986, allocations: 31.42 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3986, allocations: 0 / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.425, allocations: 3.463 MB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.17, allocations: 4.875 kB / 1.339 GB, free: 4.305 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.105832488043234] Failed to read output from testmodel.py, exit status != 0: 12.34182847396005 12.370419397 11.97750666 Calling exit ...