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.001002/0.001002, allocations: 80.94 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.00108/0.00108, 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 1.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.571/2.571, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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 4.499e-06/4.499e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.719e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001595/0.001623, allocations: 0.7624 MB / 0.8393 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.003328, allocations: 1.606 MB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.003383, allocations: 0 / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.003412, allocations: 3.938 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.003568, allocations: 23.73 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.003895, allocations: 163.3 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.004172, allocations: 119.6 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.939e-05/0.004251, allocations: 19.95 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.004413, allocations: 75.88 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.004487, allocations: 43.88 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.004507, allocations: 8 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.0047, allocations: 131.8 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.004725, allocations: 27.91 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.004755, allocations: 27.97 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.004966, allocations: 191.4 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.004968, allocations: 0 / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.954e-06/0.00497, allocations: 4 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004974, allocations: 4 kB / 0.8417 GB, free: 10.96 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.0004114/0.005385, allocations: 332.3 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.005417, allocations: 8.031 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.005632, allocations: 36.78 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.005765, allocations: 133.7 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.005815, allocations: 59.97 kB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.005826, allocations: 12.36 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.005938, allocations: 93.48 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.005946, allocations: 192 / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.005956, allocations: 8.125 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.005961, allocations: 0 / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.743e-05/0.005998, allocations: 23.91 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.006309, allocations: 376.5 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.006545, allocations: 107.7 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.006574, allocations: 30.64 kB / 0.8429 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.00659, allocations: 8 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.006703, allocations: 113.7 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.006704, allocations: 0 / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001398/0.006843, allocations: 81.58 kB / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.00689, allocations: 110.9 kB / 0.8432 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.006956, allocations: 134.5 kB / 0.8433 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.006972, allocations: 33.64 kB / 0.8433 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.007002, allocations: 84.42 kB / 0.8434 GB, free: 9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.007027, allocations: 35.72 kB / 0.8434 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.007068, allocations: 33.69 kB / 0.8435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.00714, allocations: 318.8 kB / 0.8438 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.007177, allocations: 11.98 kB / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.0072, allocations: 19.5 kB / 0.8438 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.972e-05/0.00726, allocations: 44.75 kB / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007262, allocations: 4 kB / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.69e-05/0.007349, allocations: 81.59 kB / 0.8439 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.007361, allocations: 8 kB / 0.8439 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007364, allocations: 0 / 0.8439 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.007376, allocations: 0 / 0.8439 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.359e-05/0.00745, allocations: 23.92 kB / 0.844 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.007453, allocations: 4 kB / 0.844 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.007491, allocations: 15.94 kB / 0.844 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.007499, allocations: 3.984 kB / 0.844 GB, free: 8.387 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 6.57e-05/0.007564, allocations: 123.5 kB / 0.8441 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.007579, allocations: 19.92 kB / 0.8441 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.007697, allocations: 82.03 kB / 0.8442 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.007701, allocations: 7.938 kB / 0.8442 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.007702, allocations: 0 / 0.8442 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.00771, allocations: 3.984 kB / 0.8442 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.065e-05/0.0078, allocations: 97.81 kB / 0.8443 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.007802, allocations: 4 kB / 0.8443 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.007851, allocations: 23.92 kB / 0.8443 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007853, allocations: 0 / 0.8443 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.007862, allocations: 15.94 kB / 0.8444 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.007864, allocations: 0 / 0.8444 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007865, allocations: 320 / 0.8444 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.007968, allocations: 130.9 kB / 0.8445 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.008, allocations: 11.94 kB / 0.8445 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.00802, allocations: 11.94 kB / 0.8445 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.425e-05/0.008054, allocations: 11.97 kB / 0.8445 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.008086, allocations: 11.98 kB / 0.8445 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.008094, allocations: 4 kB / 0.8445 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.836e-05/0.008112, allocations: 20.34 kB / 0.8445 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008112, allocations: 4 kB / 0.8446 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001734/0.008285, allocations: 71.69 kB / 0.8446 GB, free: 7.695 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.0001783/0.008464, allocations: 168.1 kB / 0.8448 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.008569, allocations: 59.66 kB / 0.8448 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.008571, allocations: 4 kB / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.252e-05/0.008614, allocations: 40.78 kB / 0.8449 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.008715, allocations: 13.88 kB / 0.8449 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.009176, allocations: 238.3 kB / 0.8451 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.402e-05/0.00921, allocations: 63.34 kB / 0.8452 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.603e-05/0.009256, allocations: 8.5 kB / 0.8452 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.009314, allocations: 75.3 kB / 0.8453 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.009315, allocations: 0 / 0.8453 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of Templates: time 0.00364/0.01295, allocations: 2.177 MB / 0.8474 GB, free: 4.809 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 -s gbode -gbm=radauIIA3 -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.542847573757172]