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.0009327/0.0009327, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001245/0.001245, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9637/0.9637, allocations: 177.1 MB / 204.2 MB, free: 5.238 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.964/1.964, allocations: 377.8 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.525e-06/2.525e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.033e-05/4.285e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002688/0.002731, allocations: 0.7255 MB / 0.8122 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002889/0.005619, allocations: 1.592 MB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.005723, allocations: 7.938 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.704e-05/0.00578, allocations: 7.922 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.006076, allocations: 16.36 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.00678, allocations: 177.9 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.007002, allocations: 119.6 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.007152, allocations: 15.98 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.007434, allocations: 66.48 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.00756, allocations: 47.81 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.007594, allocations: 12 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.007883, allocations: 123.8 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.007929, allocations: 27.91 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.007996, allocations: 27.92 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.008433, allocations: 195.9 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.008442, allocations: 0.7188 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.695e-06/0.008444, allocations: 0 / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.008458, allocations: 0.5312 kB / 0.8146 GB, free: 14.57 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.001097/0.009555, allocations: 465.6 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/0.009618, allocations: 8.031 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004439/0.01006, allocations: 37.86 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.01024, allocations: 121.3 kB / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.01038, allocations: 55.97 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.0104, allocations: 13.53 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.01066, allocations: 109.9 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01067, allocations: 192 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.01069, allocations: 4.125 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.0107, allocations: 1.375 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.01082, allocations: 35.91 kB / 0.8154 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008012/0.01162, allocations: 0.5773 MB / 0.816 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.0121, allocations: 146 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.287e-05/0.01218, allocations: 41.36 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.01221, allocations: 11.88 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.01242, allocations: 120.1 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.01243, allocations: 0 / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0003614/0.01279, allocations: 120.3 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.01287, allocations: 106.8 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.01302, allocations: 181.9 kB / 0.8166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.01304, allocations: 25.7 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.01313, allocations: 151.1 kB / 0.8168 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.01317, allocations: 27.75 kB / 0.8168 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-05/0.01324, allocations: 43.34 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.01342, allocations: 0.4898 MB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.01352, allocations: 19.98 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.01358, allocations: 22.94 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.01371, allocations: 51.61 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.01372, allocations: 4.438 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002313/0.01395, allocations: 114.1 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.01397, allocations: 5.406 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01398, allocations: 0 / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.014, allocations: 0 / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.01414, allocations: 23.98 kB / 0.8176 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.01414, allocations: 0.5 kB / 0.8176 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/0.01421, allocations: 13 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.01423, allocations: 15.92 kB / 0.8176 GB, free: 11.16 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 0.0001179/0.01435, allocations: 167.5 kB / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.01438, allocations: 11.94 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.01464, allocations: 114.2 kB / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01465, allocations: 0 / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01465, allocations: 4 kB / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.01466, allocations: 0 / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.01484, allocations: 152.5 kB / 0.818 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01484, allocations: 3.938 kB / 0.8181 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.01494, allocations: 24.3 kB / 0.8181 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.01494, allocations: 0 / 0.8181 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01495, allocations: 4 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.01496, allocations: 4 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01496, allocations: 5.5 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.01524, allocations: 173.6 kB / 0.8183 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.01531, allocations: 27.81 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.01533, allocations: 7.984 kB / 0.8183 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.0154, allocations: 5.031 kB / 0.8183 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.01546, allocations: 11.98 kB / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.01548, allocations: 11.98 kB / 0.8183 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.498e-05/0.01555, allocations: 136.3 kB / 0.8184 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01555, allocations: 0 / 0.8184 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003784/0.01593, allocations: 71.69 kB / 0.8185 GB, free: 10.17 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.0003363/0.01627, allocations: 172.6 kB / 0.8187 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.0165, allocations: 80.67 kB / 0.8188 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.0165, allocations: 4 kB / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.224e-05/0.01659, allocations: 47.61 kB / 0.8188 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.01685, allocations: 20.58 kB / 0.8188 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/0.01778, allocations: 243.7 kB / 0.8191 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.374e-05/0.01784, allocations: 63.34 kB / 0.8191 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.795e-05/0.01792, allocations: 20.81 kB / 0.8191 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.01798, allocations: 16.5 kB / 0.8192 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of SimCode: time 9.52e-07/0.01798, allocations: 0 / 0.8192 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of Templates: time 0.006087/0.02407, allocations: 1.99 MB / 0.8211 GB, free: 7.496 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.470958473160863]