Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002666/0.002667, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.097/3.097, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 58.2 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3722, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002097/0.3743, allocations: 0.7208 MB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.3763, allocations: 1.534 MB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.3764, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.3764, allocations: 7.875 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.3766, allocations: 19.84 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.3771, allocations: 159.4 kB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.3772, allocations: 115.8 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3774, allocations: 15.98 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.3775, allocations: 59.77 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3776, allocations: 51.81 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3777, allocations: 12 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.3778, allocations: 75.95 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.3779, allocations: 27.92 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.378, allocations: 47.78 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.3782, allocations: 199.8 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3783, allocations: 0 / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3783, allocations: 0 / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3783, allocations: 0 / 1.071 GB, free: 7.402 MB / 0.8262 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.0007621/0.379, allocations: 427.1 kB / 1.072 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3791, allocations: 8.031 kB / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.3791, allocations: 12.84 kB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3793, allocations: 180.2 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.3794, allocations: 34.27 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3794, allocations: 4.375 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.3796, allocations: 100.3 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3796, allocations: 0 / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3796, allocations: 4 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3796, allocations: 4 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3798, allocations: 55.88 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006829/0.3804, allocations: 0.5204 MB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.3809, allocations: 135.7 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.381, allocations: 46.66 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3811, allocations: 8 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.3813, allocations: 113.9 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.3813, allocations: 0 / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0003492/0.3817, allocations: 137.5 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.3817, allocations: 114.9 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3818, allocations: 121.8 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3819, allocations: 29.7 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.3819, allocations: 96.39 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.382, allocations: 31.55 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.382, allocations: 33.7 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3822, allocations: 322.8 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/0.3823, allocations: 35.98 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.789e-05/0.3824, allocations: 43.92 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.3826, allocations: 74.39 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3826, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002635/0.3828, allocations: 139.1 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3829, allocations: 4 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3829, allocations: 0 / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3829, allocations: 256 / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.383, allocations: 27.86 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3831, allocations: 4 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.3831, allocations: 23.92 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3832, allocations: 3.938 kB / 1.074 GB, free: 4.258 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.638e-05/0.3833, allocations: 123.3 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.3833, allocations: 7.906 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.3836, allocations: 118 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3836, allocations: 8.031 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3836, allocations: 0 / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3836, allocations: 0 / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.3838, allocations: 217.5 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3838, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-05/0.3839, allocations: 27.92 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3839, allocations: 4 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3839, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3839, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3839, allocations: 4 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.3842, allocations: 178.6 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.3843, allocations: 104.8 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.3843, allocations: 3.984 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.95e-05/0.3844, allocations: 11.94 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.3845, allocations: 19.92 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3845, allocations: 8 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.264e-05/0.3845, allocations: 102.9 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3845, allocations: 0 / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000265/0.3848, allocations: 59.92 kB / 1.075 GB, free: 3.176 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.0002385/0.3851, allocations: 155.1 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.3853, allocations: 101.7 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3853, allocations: 0 / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3854, allocations: 55.86 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.3857, allocations: 12.31 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.3861, allocations: 241.1 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3864, allocations: 0.7001 MB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.406e-05/0.3865, allocations: 12.55 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.3865, allocations: 27.42 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3865, allocations: 0 / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of Templates: time 0.004507/0.3911, allocations: 1.728 MB / 1.078 GB, free: 100 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)