Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001268/0.001268, allocations: 81.95 kB / 20.68 MB, free: 3.82 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.001393/0.001393, allocations: 181.3 kB / 24.09 MB, free: 424 kB / 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.014/1.014, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.922/1.922, allocations: 377.9 MB / 0.624 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0.6562 kB / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.819e-05, allocations: 2.312 kB / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002246/0.002274, allocations: 0.7238 MB / 0.8127 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.004652, allocations: 1.587 MB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-05/0.004741, allocations: 1.375 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.785e-05/0.004779, allocations: 3.938 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.00497, allocations: 23.84 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.005587, allocations: 173.5 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.00574, allocations: 119.7 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.005834, allocations: 15.92 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.006021, allocations: 72.97 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.006094, allocations: 39.94 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.006117, allocations: 16.78 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.006302, allocations: 119.8 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.006327, allocations: 25.31 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.006363, allocations: 31.91 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.0066, allocations: 191.4 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.006603, allocations: 0.5312 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.006604, allocations: 0 / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.006608, allocations: 1.938 kB / 0.815 GB, free: 14.37 MB / 0.7761 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.000487/0.007095, allocations: 463.9 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.007132, allocations: 13.72 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.007351, allocations: 44.69 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.007489, allocations: 132.6 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/0.00755, allocations: 60.81 kB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.007564, allocations: 12.38 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.00769, allocations: 102.5 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.007698, allocations: 192 / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.007709, allocations: 8.812 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.007715, allocations: 4.531 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.007761, allocations: 23.91 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/0.008503, allocations: 0.5579 MB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.008797, allocations: 140.2 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.008831, allocations: 39.12 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.008851, allocations: 3.938 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.008977, allocations: 124.8 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.008979, allocations: 0 / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0001938/0.009172, allocations: 106.8 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.009214, allocations: 102.8 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.009301, allocations: 187.1 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.009317, allocations: 29.7 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.009372, allocations: 147.1 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.009399, allocations: 35.72 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.009445, allocations: 40.94 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.009564, allocations: 0.4923 MB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.307e-05/0.009617, allocations: 15.92 kB / 0.8178 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.521e-05/0.009642, allocations: 18.38 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.647e-05/0.009709, allocations: 46.42 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009711, allocations: 4 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001264/0.009837, allocations: 97.5 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.00985, allocations: 4 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.009855, allocations: 0 / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.009867, allocations: 0 / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.009948, allocations: 31.92 kB / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.009952, allocations: 4.484 kB / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.009991, allocations: 9.062 kB / 0.818 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.01, allocations: 4.25 kB / 0.818 GB, free: 11.02 MB / 0.7761 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 7.881e-05/0.01008, allocations: 161.6 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.0101, allocations: 23.88 kB / 0.8182 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.01026, allocations: 103.8 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01026, allocations: 4.234 kB / 0.8183 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01026, allocations: 0 / 0.8183 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01027, allocations: 3.984 kB / 0.8183 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.01038, allocations: 138 kB / 0.8184 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01039, allocations: 0 / 0.8184 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.01044, allocations: 25.27 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01044, allocations: 0 / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.01045, allocations: 7.938 kB / 0.8185 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01045, allocations: 7.938 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01045, allocations: 0.9062 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.0106, allocations: 161.5 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.01064, allocations: 24.53 kB / 0.8186 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.01066, allocations: 11.88 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.01069, allocations: 8.641 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.01073, allocations: 11.98 kB / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.01074, allocations: 6.906 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.01079, allocations: 137.4 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01079, allocations: 4 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002358/0.01103, allocations: 71.73 kB / 0.8189 GB, free: 10.07 MB / 0.7761 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.00023/0.01126, allocations: 174.9 kB / 0.8191 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.01139, allocations: 68.84 kB / 0.8191 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01139, allocations: 2.625 kB / 0.8191 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.01144, allocations: 47.59 kB / 0.8192 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.01161, allocations: 16.36 kB / 0.8192 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.01215, allocations: 238.7 kB / 0.8194 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.01219, allocations: 67.34 kB / 0.8195 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.065e-05/0.01224, allocations: 16.27 kB / 0.8195 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.0123, allocations: 78.2 kB / 0.8196 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.0123, allocations: 0 / 0.8196 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of Templates: time 0.003764/0.01607, allocations: 2.217 MB / 0.8217 GB, free: 7.117 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.140167423058301]