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.001448/0.001448, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001775/0.001775, allocations: 177 kB / 23.36 MB, free: 1.129 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.9944/0.9944, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.407/2.407, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.623e-06/1.623e-06, allocations: 0 / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.336e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00212/0.002143, allocations: 0.7223 MB / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.004655, allocations: 1.602 MB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.144e-05/0.004717, allocations: 4 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.004754, allocations: 7.875 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.00494, allocations: 23.84 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.005631, allocations: 167.2 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.005823, allocations: 127.6 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.005916, allocations: 11.98 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.00615, allocations: 79.86 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.006256, allocations: 39.89 kB / 0.8413 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.006286, allocations: 12 kB / 0.8413 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.006528, allocations: 123.8 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.006564, allocations: 15.98 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.006611, allocations: 35.91 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.006938, allocations: 191.4 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.006941, allocations: 0 / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.61e-07/0.006942, allocations: 0 / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.006946, allocations: 0 / 0.8416 GB, free: 11.12 MB / 0.8073 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.000584/0.00753, allocations: 344.1 kB / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.007566, allocations: 8.031 kB / 0.842 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.007875, allocations: 44.78 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.008048, allocations: 121.7 kB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.008118, allocations: 55.97 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.00814, allocations: 12.38 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.008299, allocations: 101.4 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.008308, allocations: 192 / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.008322, allocations: 12.11 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.00833, allocations: 4 kB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.9e-05/0.008389, allocations: 19.97 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.00899, allocations: 372.4 kB / 0.8427 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.009338, allocations: 111.8 kB / 0.8428 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.00938, allocations: 26.66 kB / 0.8428 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.0094, allocations: 4 kB / 0.8428 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.009545, allocations: 109.8 kB / 0.8429 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.009546, allocations: 0 / 0.8429 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001988/0.009745, allocations: 81.59 kB / 0.843 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.009807, allocations: 118.7 kB / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.009893, allocations: 126.8 kB / 0.8432 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.009916, allocations: 33.69 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.009962, allocations: 88.41 kB / 0.8433 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.009997, allocations: 35.73 kB / 0.8434 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.01005, allocations: 33.67 kB / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.01015, allocations: 318.8 kB / 0.8437 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/0.01021, allocations: 11.98 kB / 0.8437 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.318e-05/0.01024, allocations: 15.98 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.84e-05/0.01033, allocations: 44.77 kB / 0.8438 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.01034, allocations: 0 / 0.8438 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001404/0.01048, allocations: 89.53 kB / 0.8439 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.01049, allocations: 4 kB / 0.8439 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.0105, allocations: 0 / 0.8439 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.01051, allocations: 0 / 0.8439 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.01062, allocations: 19.98 kB / 0.8439 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.01063, allocations: 0 / 0.8439 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.01069, allocations: 15.95 kB / 0.8439 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.0107, allocations: 3.984 kB / 0.8439 GB, free: 8.539 MB / 0.8073 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 8.281e-05/0.01078, allocations: 121.7 kB / 0.844 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.01081, allocations: 11.94 kB / 0.844 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.01099, allocations: 98.17 kB / 0.8441 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.011, allocations: 4 kB / 0.8441 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.011, allocations: 0 / 0.8441 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.011, allocations: 0 / 0.8441 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.01113, allocations: 97.81 kB / 0.8442 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01113, allocations: 4 kB / 0.8442 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.01121, allocations: 15.94 kB / 0.8442 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.01122, allocations: 7.984 kB / 0.8442 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01123, allocations: 7.938 kB / 0.8442 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01123, allocations: 4.312 kB / 0.8443 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.01124, allocations: 4 kB / 0.8443 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.01139, allocations: 125.1 kB / 0.8444 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.01143, allocations: 19.94 kB / 0.8444 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.01146, allocations: 3.938 kB / 0.8444 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.01151, allocations: 8 kB / 0.8444 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.01156, allocations: 11.97 kB / 0.8444 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.01157, allocations: 8 kB / 0.8444 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.01161, allocations: 24.83 kB / 0.8445 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01161, allocations: 0 / 0.8445 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002938/0.0119, allocations: 67.7 kB / 0.8445 GB, free: 7.852 MB / 0.8073 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.0002619/0.01216, allocations: 175.4 kB / 0.8447 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.01232, allocations: 64.7 kB / 0.8447 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.01232, allocations: 0 / 0.8447 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.01239, allocations: 40.77 kB / 0.8448 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.01252, allocations: 15.98 kB / 0.8448 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006544/0.01317, allocations: 226.4 kB / 0.845 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.443e-05/0.01322, allocations: 63.34 kB / 0.8451 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.921e-05/0.01329, allocations: 12.62 kB / 0.8451 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.607e-05/0.01337, allocations: 71.36 kB / 0.8452 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.01337, allocations: 0 / 0.8452 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of Templates: time 0.005479/0.01885, allocations: 2.18 MB / 0.8473 GB, free: 4.965 MB / 0.8073 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.311693585943431]