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.001381/0.001381, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001695/0.001695, allocations: 169 kB / 24.28 MB, free: 276 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.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.924/1.924, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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 3.076e-06/3.076e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.278e-05/4.586e-05, allocations: 4.031 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002756/0.002802, allocations: 0.7186 MB / 0.8122 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002459/0.005261, allocations: 1.602 MB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.68e-05/0.005357, allocations: 1.312 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/0.005406, allocations: 3.938 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.00566, allocations: 19.84 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.006276, allocations: 168.9 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.00652, allocations: 124.3 kB / 0.8141 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.006655, allocations: 11.98 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.006939, allocations: 78 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.007062, allocations: 43.88 kB / 0.8142 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.007096, allocations: 12 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.007376, allocations: 119.8 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.007414, allocations: 23.92 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.007467, allocations: 32.56 kB / 0.8144 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.007789, allocations: 192.6 kB / 0.8146 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.007794, allocations: 0 / 0.8146 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.613e-06/0.007795, allocations: 4 kB / 0.8146 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.007803, allocations: 0 / 0.8146 GB, free: 14.96 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.0007388/0.008542, allocations: 458.5 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/0.008604, allocations: 8.031 kB / 0.815 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.008889, allocations: 42.5 kB / 0.815 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.009003, allocations: 124.5 kB / 0.8152 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.23e-05/0.009075, allocations: 63.89 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.009093, allocations: 8.375 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.009256, allocations: 111.7 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.009264, allocations: 192 / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.009278, allocations: 8.125 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.009287, allocations: 4 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.963e-05/0.009347, allocations: 23.91 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.009863, allocations: 0.5787 MB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.0102, allocations: 145.1 kB / 0.8161 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.01025, allocations: 49.08 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.01027, allocations: 0 / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.01042, allocations: 116 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.01042, allocations: 0 / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.000257/0.01068, allocations: 122 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.01073, allocations: 108.7 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/0.01083, allocations: 177.9 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.01084, allocations: 33.7 kB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.0109, allocations: 147.2 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.01093, allocations: 31.73 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.01097, allocations: 37.8 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01109, allocations: 0.4923 MB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.01116, allocations: 19.98 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.0112, allocations: 19.98 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.517e-05/0.01128, allocations: 62.5 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01129, allocations: 3.938 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001357/0.01142, allocations: 106.7 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.01144, allocations: 4 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01144, allocations: 0 / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01146, allocations: 4.594 kB / 0.8176 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.01154, allocations: 23.92 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01154, allocations: 0.75 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.01159, allocations: 12.77 kB / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.0116, allocations: 8 kB / 0.8176 GB, free: 11.55 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.923e-05/0.01167, allocations: 169.6 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.01169, allocations: 11.95 kB / 0.8178 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.01186, allocations: 110.5 kB / 0.8179 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.01187, allocations: 8 kB / 0.8179 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01187, allocations: 0 / 0.8179 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.01187, allocations: 0 / 0.8179 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.01199, allocations: 160.5 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01199, allocations: 3.938 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.01204, allocations: 18.09 kB / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.01205, allocations: 4 kB / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01206, allocations: 3.938 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01206, allocations: 3.984 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01206, allocations: 4 kB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.01223, allocations: 164.6 kB / 0.8182 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.01227, allocations: 31.8 kB / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.01229, allocations: 8 kB / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.01232, allocations: 5.125 kB / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.01237, allocations: 19.91 kB / 0.8183 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.01238, allocations: 5.062 kB / 0.8183 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.363e-05/0.01243, allocations: 143.2 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01243, allocations: 0 / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002209/0.01265, allocations: 68.83 kB / 0.8185 GB, free: 10.56 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.0002103/0.01286, allocations: 177 kB / 0.8187 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.01302, allocations: 82.28 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01302, allocations: 0 / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.043e-05/0.01308, allocations: 49.31 kB / 0.8188 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.01324, allocations: 18.78 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.01387, allocations: 235.2 kB / 0.819 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.01391, allocations: 67.34 kB / 0.8191 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.144e-05/0.01396, allocations: 20.3 kB / 0.8191 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.01401, allocations: 20.48 kB / 0.8191 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.01401, allocations: 0 / 0.8191 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.004087/0.0181, allocations: 1.991 MB / 0.8211 GB, free: 7.883 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.367274865042418]