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/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.0009294/0.0009294, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009696/0.0009696, allocations: 169 kB / 23.02 MB, free: 1.551 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.9928/0.9928, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.155/2.155, allocations: 429.5 MB / 0.6733 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0.875 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/2.981e-05, allocations: 9.719 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001777/0.001806, allocations: 0.731 MB / 0.8789 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.003405, allocations: 1.604 MB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.003454, allocations: 4 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.817e-05/0.003522, allocations: 4.438 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.003682, allocations: 17.56 kB / 0.8804 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.004027, allocations: 176.5 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.004154, allocations: 115.7 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004256, allocations: 11.98 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.004438, allocations: 77.41 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.004521, allocations: 39.94 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.004545, allocations: 12 kB / 0.8809 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.004727, allocations: 119.8 kB / 0.881 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.004757, allocations: 25.92 kB / 0.881 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.004802, allocations: 35.91 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.005052, allocations: 195.4 kB / 0.8812 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.005055, allocations: 0 / 0.8812 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.303e-06/0.005057, allocations: 0 / 0.8812 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.005062, allocations: 2.531 kB / 0.8812 GB, free: 3.211 MB / 0.8386 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.0004918/0.005554, allocations: 463.9 kB / 0.8817 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.005589, allocations: 8.031 kB / 0.8817 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.005809, allocations: 44.8 kB / 0.8817 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.229e-05/0.005901, allocations: 120.5 kB / 0.8818 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/0.005966, allocations: 63.97 kB / 0.8819 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.005986, allocations: 12.31 kB / 0.8819 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.006118, allocations: 106 kB / 0.882 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.006125, allocations: 192 / 0.882 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.006137, allocations: 8.125 kB / 0.882 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.006144, allocations: 0 / 0.882 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.629e-05/0.0062, allocations: 31.91 kB / 0.882 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.006662, allocations: 0.5795 MB / 0.8826 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.00697, allocations: 145.1 kB / 0.8827 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.007019, allocations: 39.14 kB / 0.8828 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.007039, allocations: 4 kB / 0.8828 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.007181, allocations: 120 kB / 0.8829 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.007182, allocations: 0 / 0.8829 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000219/0.007401, allocations: 113.5 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.007444, allocations: 106.8 kB / 0.8831 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.007528, allocations: 181.9 kB / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.007543, allocations: 29.7 kB / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.007597, allocations: 151.1 kB / 0.8835 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.007623, allocations: 31.73 kB / 0.8835 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.007671, allocations: 43.36 kB / 0.8835 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.007857, allocations: 0.4884 MB / 0.884 GB, free: 60 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.007916, allocations: 24.11 kB / 0.884 GB, free: 36 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.007953, allocations: 24.17 kB / 0.884 GB, free: 12 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.207e-05/0.008046, allocations: 54.48 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.008049, allocations: 7.938 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001275/0.008176, allocations: 105.6 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.008187, allocations: 4 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.008192, allocations: 0 / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.008204, allocations: 192 / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.008278, allocations: 23.92 kB / 0.8842 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.008284, allocations: 4 kB / 0.8842 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.008325, allocations: 23.88 kB / 0.8843 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.008335, allocations: 7.984 kB / 0.8843 GB, free: 15.78 MB / 0.8542 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.07e-05/0.008406, allocations: 166.4 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.008424, allocations: 11.95 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.008578, allocations: 102 kB / 0.8845 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.00858, allocations: 0 / 0.8845 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.008584, allocations: 4 kB / 0.8845 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.008587, allocations: 0 / 0.8845 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.008693, allocations: 164.5 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.008695, allocations: 3.938 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.008742, allocations: 19.94 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008744, allocations: 0 / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.008754, allocations: 11.98 kB / 0.8847 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008756, allocations: 0 / 0.8847 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008756, allocations: 0 / 0.8847 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.008916, allocations: 163.7 kB / 0.8849 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.00896, allocations: 39.75 kB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.008976, allocations: 3.938 kB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/0.009013, allocations: 8 kB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.009049, allocations: 19.91 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.009057, allocations: 8 kB / 0.885 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.009105, allocations: 138.5 kB / 0.8851 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009105, allocations: 0 / 0.8851 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002173/0.009322, allocations: 71.73 kB / 0.8852 GB, free: 14.78 MB / 0.8542 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.0001921/0.009514, allocations: 175 kB / 0.8853 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.009645, allocations: 83.02 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.009646, allocations: 0 / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.009702, allocations: 51.59 kB / 0.8855 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.009847, allocations: 15.94 kB / 0.8855 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.01035, allocations: 237.9 kB / 0.8857 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.01038, allocations: 63.34 kB / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.01042, allocations: 16.48 kB / 0.8858 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.01046, allocations: 24.48 kB / 0.8858 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01046, allocations: 0 / 0.8858 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of Templates: time 0.004094/0.01456, allocations: 1.988 MB / 0.8877 GB, free: 12.09 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.614490706007928]