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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.18/2.18, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 185.4 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 0.7948 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 111.5 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 54.14 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.293, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001821/0.2948, allocations: 0.7842 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2965, allocations: 1.533 MB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.2965, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.2966, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.2967, allocations: 19.84 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.297, allocations: 127.7 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.2971, allocations: 119.6 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.2972, allocations: 15.98 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.2974, allocations: 47.83 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.2975, allocations: 43.83 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.2975, allocations: 8 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.2976, allocations: 79.88 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.2977, allocations: 15.98 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.2977, allocations: 39.8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.2979, allocations: 193.6 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.298, allocations: 3.938 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.82e-07/0.298, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.298, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 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.0005749/0.2986, allocations: 423.2 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2986, allocations: 15.98 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.2986, allocations: 8.844 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/0.2987, allocations: 180.2 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.2988, allocations: 34.2 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2988, allocations: 8.375 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.299, allocations: 108.3 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.299, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.299, allocations: 8 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.299, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/0.2991, allocations: 47.91 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.2996, allocations: 0.5205 MB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.3001, allocations: 127.8 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.3001, allocations: 54.59 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.3001, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.3003, allocations: 117.9 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3003, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0002776/0.3006, allocations: 145.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.3007, allocations: 102.8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.3007, allocations: 141.6 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.3008, allocations: 29.7 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.3008, allocations: 88.42 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.3008, allocations: 31.67 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.3009, allocations: 37.64 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.3009, allocations: 322.9 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.301, allocations: 39.98 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.3011, allocations: 34.52 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.3013, allocations: 80.78 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3013, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001983/0.3015, allocations: 133.5 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3015, allocations: 5.25 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3015, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3015, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3016, allocations: 19.98 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3016, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.3017, allocations: 15.89 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.3017, allocations: 7.938 kB / 1.224 GB, free: 111.1 MB / 0.823 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 6.732e-05/0.3018, allocations: 126.6 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.3018, allocations: 11.89 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.302, allocations: 114 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.302, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3021, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3021, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.3022, allocations: 221.5 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3022, allocations: 320 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.3023, allocations: 19.98 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3023, allocations: 7.938 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3023, allocations: 11.94 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3023, allocations: 7.938 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3023, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.3027, allocations: 0.7683 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.3027, allocations: 97 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3028, allocations: 7.938 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.3028, allocations: 15.98 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.3029, allocations: 11.98 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3029, allocations: 8 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.303, allocations: 95.27 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.303, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003312/0.3033, allocations: 55.92 kB / 1.225 GB, free: 109.4 MB / 0.823 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.000196/0.3035, allocations: 166.8 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.3037, allocations: 91.97 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.3037, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.818e-05/0.3038, allocations: 55.84 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.304, allocations: 17.06 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.3044, allocations: 424.3 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.3045, allocations: 0.7017 MB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.772e-05/0.3046, allocations: 20.67 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.3047, allocations: 15.44 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.3047, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of Templates: time 0.003423/0.3081, allocations: 1.695 MB / 1.228 GB, free: 106.1 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)