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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008181/0.0008182, allocations: 89.89 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006402/0.006402, allocations: 171.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 13.45 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3227, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0009308/0.3237, allocations: 461.4 kB / 1.059 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.3257, allocations: 1.529 MB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.3258, allocations: 0 / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.3259, allocations: 3.984 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.326, allocations: 15.86 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.3265, allocations: 135.7 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.3266, allocations: 107.7 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3267, allocations: 19.92 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3269, allocations: 43.84 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.327, allocations: 43.83 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.327, allocations: 4 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.3272, allocations: 75.88 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.3272, allocations: 15.92 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.3273, allocations: 77.47 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.3276, allocations: 179.7 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3276, allocations: 4 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3276, allocations: 0 / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3276, allocations: 0 / 1.061 GB, free: 2.242 MB / 0.8106 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.0006576/0.3283, allocations: 411.2 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3283, allocations: 11.97 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.3284, allocations: 38.75 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.3284, allocations: 8.844 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3286, allocations: 168.4 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-05/0.3286, allocations: 38.2 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3287, allocations: 8.375 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.3289, allocations: 112.2 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3289, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3289, allocations: 4 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3289, allocations: 0 / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.329, allocations: 51.91 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.3297, allocations: 0.5282 MB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.3301, allocations: 139.7 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.3302, allocations: 46.66 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3302, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.3305, allocations: 113.8 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3305, allocations: 3.938 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003196/0.3308, allocations: 141.6 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.3309, allocations: 106.8 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.331, allocations: 125.7 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.331, allocations: 33.7 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.3311, allocations: 84.42 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.3311, allocations: 39.73 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.3311, allocations: 25.72 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.3312, allocations: 318.8 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/0.3313, allocations: 35.98 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.3314, allocations: 39.98 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3316, allocations: 79.31 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3316, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000231/0.3318, allocations: 129.5 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3319, allocations: 13.34 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3319, allocations: 0 / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3319, allocations: 0 / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.332, allocations: 23.92 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.332, allocations: 3.938 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.3321, allocations: 27.77 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3322, allocations: 4 kB / 1.064 GB, free: 15.07 MB / 0.8262 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 9.274e-05/0.3323, allocations: 117.8 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.3323, allocations: 15.89 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.3325, allocations: 110 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3325, allocations: 4 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3325, allocations: 0 / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3326, allocations: 8.156 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.3327, allocations: 213.5 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3327, allocations: 8 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.3328, allocations: 19.98 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3329, allocations: 7.938 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3329, allocations: 0 / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.3329, allocations: 8.297 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3329, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.3331, allocations: 174.6 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.3332, allocations: 108.9 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.3332, allocations: 8 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.3333, allocations: 4 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.3334, allocations: 27.84 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3334, allocations: 4 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.3335, allocations: 102.4 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3335, allocations: 0 / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002796/0.3338, allocations: 51.94 kB / 1.065 GB, free: 13.99 MB / 0.8262 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.000635/0.3344, allocations: 0.7572 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3346, allocations: 95.95 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3346, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.3347, allocations: 63.84 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.335, allocations: 13.25 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.3366, allocations: 1.572 MB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.3369, allocations: 0.7004 MB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.229e-05/0.337, allocations: 20.48 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.337, allocations: 27.42 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.337, allocations: 4 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.3503, allocations: 2.673 MB / 1.071 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.3505, allocations: 232.9 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.057, allocations: 0 / 1.071 GB, free: 7.84 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)