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.0007448/0.0007448, allocations: 90.52 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.004526/0.004526, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.582/2.582, allocations: 443.4 MB / 0.7176 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 5.906 kB / 0.8797 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3179, allocations: 155.2 MB / 1.031 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0009195/0.3189, allocations: 454.1 kB / 1.032 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3208, allocations: 1.529 MB / 1.033 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.3208, allocations: 0 / 1.033 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.3209, allocations: 3.938 kB / 1.033 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.321, allocations: 15.91 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.3213, allocations: 135.7 kB / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3215, allocations: 111.6 kB / 1.033 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3216, allocations: 27.95 kB / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.458e-05/0.3217, allocations: 39.8 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/0.3218, allocations: 47.81 kB / 1.034 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3218, allocations: 4 kB / 1.034 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.322, allocations: 71.95 kB / 1.034 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.322, allocations: 23.91 kB / 1.034 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.228e-05/0.3221, allocations: 61.55 kB / 1.034 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.3223, allocations: 187.7 kB / 1.034 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3223, allocations: 0 / 1.034 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3223, allocations: 0 / 1.034 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3223, allocations: 0 / 1.034 GB, free: 1.531 MB / 0.7794 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.0006201/0.323, allocations: 411.2 kB / 1.034 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.323, allocations: 8.031 kB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.3231, allocations: 38.75 kB / 1.034 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.3231, allocations: 8.844 kB / 1.034 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3232, allocations: 180.2 kB / 1.034 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.3233, allocations: 34.27 kB / 1.035 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.3234, allocations: 12.38 kB / 1.035 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3235, allocations: 100.2 kB / 1.035 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3235, allocations: 0 / 1.035 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3236, allocations: 0 / 1.035 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3236, allocations: 7.938 kB / 1.035 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.3237, allocations: 43.97 kB / 1.035 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.3243, allocations: 0.5204 MB / 1.035 GB, free: 12 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.3248, allocations: 139.7 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.628e-05/0.3248, allocations: 38.66 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3249, allocations: 4 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.3251, allocations: 125.9 kB / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.3251, allocations: 0 / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0003139/0.3254, allocations: 145.5 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.3255, allocations: 106.8 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3256, allocations: 129.9 kB / 1.036 GB, free: 15.24 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3256, allocations: 29.7 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.3257, allocations: 88.42 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.3257, allocations: 39.48 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.3258, allocations: 21.66 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3259, allocations: 326.8 kB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.326, allocations: 31.98 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.3261, allocations: 38.23 kB / 1.036 GB, free: 14.65 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3262, allocations: 80.78 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3262, allocations: 4 kB / 1.036 GB, free: 14.56 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000227/0.3265, allocations: 123.7 kB / 1.037 GB, free: 14.44 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3265, allocations: 8 kB / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3265, allocations: 0 / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3265, allocations: 0 / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3266, allocations: 27.92 kB / 1.037 GB, free: 14.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3267, allocations: 0 / 1.037 GB, free: 14.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.3267, allocations: 23.77 kB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3268, allocations: 0 / 1.037 GB, free: 14.38 MB / 0.795 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.363e-05/0.3269, allocations: 130.6 kB / 1.037 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.3269, allocations: 11.89 kB / 1.037 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.3271, allocations: 117.9 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3271, allocations: 4 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3272, allocations: 4 kB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3272, allocations: 3.938 kB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.3273, allocations: 221.4 kB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3274, allocations: 0 / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.665e-05/0.3275, allocations: 23.92 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3275, allocations: 4 kB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3275, allocations: 0 / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3275, allocations: 4 kB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3275, allocations: 0 / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.3277, allocations: 182.9 kB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.3278, allocations: 104.9 kB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.3278, allocations: 4 kB / 1.037 GB, free: 13.47 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.3279, allocations: 12 kB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.328, allocations: 15.92 kB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.328, allocations: 7.984 kB / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.715e-05/0.328, allocations: 107.3 kB / 1.038 GB, free: 13.33 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3281, allocations: 0 / 1.038 GB, free: 13.33 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002687/0.3283, allocations: 51.94 kB / 1.038 GB, free: 13.28 MB / 0.795 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.0005712/0.3289, allocations: 0.7664 MB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.3291, allocations: 95.89 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3291, allocations: 0 / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.3292, allocations: 51.92 kB / 1.038 GB, free: 12.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.3294, allocations: 21.58 kB / 1.039 GB, free: 12.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.331, allocations: 1.566 MB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.3312, allocations: 0.7004 MB / 1.041 GB, free: 9.934 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.999e-05/0.3313, allocations: 16.69 kB / 1.041 GB, free: 9.914 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.3314, allocations: 35.42 kB / 1.041 GB, free: 9.879 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3314, allocations: 0 / 1.041 GB, free: 9.879 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.343, allocations: 2.683 MB / 1.043 GB, free: 7.371 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.3432, allocations: 228.3 kB / 1.044 GB, free: 7.113 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.121, allocations: 0 / 1.044 GB, free: 7.113 MB / 0.795 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)