Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001171/0.001171, allocations: 80.3 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001476/0.001476, allocations: 170 kB / 24.86 MB, free: 9.289 MB / 18.57 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.849/1.849, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.629e-05, allocations: 7.219 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001189/0.001206, allocations: 0.724 MB / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.002638, allocations: 1.584 MB / 0.7905 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.002682, allocations: 4 kB / 0.7905 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.002706, allocations: 11.86 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.002842, allocations: 12.55 kB / 0.7905 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.00312, allocations: 172.9 kB / 0.7907 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.003233, allocations: 123.6 kB / 0.7908 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.694e-05/0.0033, allocations: 7.438 kB / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.003439, allocations: 83.8 kB / 0.7909 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.003503, allocations: 39.89 kB / 0.791 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.003519, allocations: 12 kB / 0.791 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.003655, allocations: 115.8 kB / 0.7911 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.003678, allocations: 27.91 kB / 0.7911 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.003709, allocations: 35.91 kB / 0.7911 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.003904, allocations: 192 kB / 0.7913 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003906, allocations: 0 / 0.7913 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003906, allocations: 0.5938 kB / 0.7913 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.297e-06/0.00391, allocations: 0 / 0.7913 GB, free: 9.141 MB / 0.7448 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.0003947/0.004304, allocations: 461.6 kB / 0.7918 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.498e-05/0.004329, allocations: 8.844 kB / 0.7918 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.004514, allocations: 41.88 kB / 0.7918 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.00462, allocations: 140.5 kB / 0.7919 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.004665, allocations: 61.41 kB / 0.792 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.004678, allocations: 16.36 kB / 0.792 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.774e-05/0.004775, allocations: 97.92 kB / 0.7921 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004783, allocations: 4.172 kB / 0.7921 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.004791, allocations: 4.688 kB / 0.7921 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.004796, allocations: 4 kB / 0.7921 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.004833, allocations: 25.28 kB / 0.7921 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.005176, allocations: 0.5613 MB / 0.7927 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.005417, allocations: 139.1 kB / 0.7928 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.005452, allocations: 43.77 kB / 0.7929 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.005465, allocations: 7.875 kB / 0.7929 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.005567, allocations: 116.7 kB / 0.793 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.005568, allocations: 1.219 kB / 0.793 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001613/0.00573, allocations: 105.5 kB / 0.7931 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.005774, allocations: 114.8 kB / 0.7932 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/0.005844, allocations: 174.5 kB / 0.7934 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.005859, allocations: 30.83 kB / 0.7934 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.005905, allocations: 139.1 kB / 0.7935 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.005929, allocations: 31.73 kB / 0.7936 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.005978, allocations: 44.28 kB / 0.7936 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.006092, allocations: 0.4923 MB / 0.7941 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.006125, allocations: 11.98 kB / 0.7941 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.006148, allocations: 20.7 kB / 0.7941 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.067e-05/0.006209, allocations: 55.08 kB / 0.7942 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.006212, allocations: 8 kB / 0.7942 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001106/0.006322, allocations: 102.1 kB / 0.7943 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.006332, allocations: 5.562 kB / 0.7943 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.006335, allocations: 1.094 kB / 0.7943 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.072e-06/0.006341, allocations: 0 / 0.7943 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.636e-05/0.006407, allocations: 23.98 kB / 0.7943 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.006409, allocations: 1.062 kB / 0.7943 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.006447, allocations: 15.88 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.006455, allocations: 7.984 kB / 0.7943 GB, free: 5.785 MB / 0.7448 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.653e-05/0.006521, allocations: 163.5 kB / 0.7945 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.006537, allocations: 14.11 kB / 0.7945 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.006662, allocations: 106.1 kB / 0.7946 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.006665, allocations: 4 kB / 0.7946 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.006667, allocations: 0 / 0.7946 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.00667, allocations: 2.781 kB / 0.7946 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.548e-05/0.006765, allocations: 145.1 kB / 0.7947 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006766, allocations: 0 / 0.7947 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.006808, allocations: 16 kB / 0.7948 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.00681, allocations: 0 / 0.7948 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.006819, allocations: 7.922 kB / 0.7948 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.006821, allocations: 7.938 kB / 0.7948 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006821, allocations: 0 / 0.7948 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.006954, allocations: 161.3 kB / 0.7949 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.006987, allocations: 27.86 kB / 0.795 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.007001, allocations: 3.938 kB / 0.795 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.007036, allocations: 8 kB / 0.795 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.007063, allocations: 12.5 kB / 0.795 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.00707, allocations: 8.625 kB / 0.795 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.007108, allocations: 133.8 kB / 0.7951 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007108, allocations: 12.84 kB / 0.7951 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001782/0.007286, allocations: 67.73 kB / 0.7952 GB, free: 4.844 MB / 0.7448 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.0001531/0.007439, allocations: 172 kB / 0.7954 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.007544, allocations: 78.38 kB / 0.7954 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.41e-07/0.007545, allocations: 0.6562 kB / 0.7954 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.00759, allocations: 44.72 kB / 0.7955 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.00772, allocations: 21.66 kB / 0.7955 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.008245, allocations: 241.6 kB / 0.7957 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.078e-05/0.008286, allocations: 67.34 kB / 0.7958 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.671e-05/0.008353, allocations: 17.52 kB / 0.7958 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.008435, allocations: 86.19 kB / 0.7959 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.008435, allocations: 0 / 0.7959 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of Templates: time 0.00359/0.01203, allocations: 2.25 MB / 0.7981 GB, free: 1.844 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.103250113781542]