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.001379/0.001379, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0017/0.0017, allocations: 169 kB / 23.27 MB, free: 1.223 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.9476/0.9476, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.383/2.383, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 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.814e-06/1.814e-06, allocations: 0 / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.578e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001579/0.001605, allocations: 0.7269 MB / 0.8904 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.003395, allocations: 1.583 MB / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.003465, allocations: 4 kB / 0.892 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.003498, allocations: 11.86 kB / 0.892 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.003672, allocations: 19.8 kB / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.004257, allocations: 167.3 kB / 0.8922 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.004412, allocations: 123.6 kB / 0.8923 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.004508, allocations: 12 kB / 0.8923 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.004707, allocations: 83.8 kB / 0.8924 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.004783, allocations: 35.89 kB / 0.8924 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.004806, allocations: 12 kB / 0.8924 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.005036, allocations: 123.8 kB / 0.8925 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.005064, allocations: 19.92 kB / 0.8926 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.005101, allocations: 31.97 kB / 0.8926 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.005362, allocations: 195.4 kB / 0.8928 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.005366, allocations: 0 / 0.8928 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005367, allocations: 0 / 0.8928 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.005371, allocations: 4 kB / 0.8928 GB, free: 6.602 MB / 0.8542 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.0005054/0.005877, allocations: 463.9 kB / 0.8932 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.005916, allocations: 8.031 kB / 0.8932 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.006156, allocations: 40.75 kB / 0.8933 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.006298, allocations: 140.5 kB / 0.8934 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/0.00636, allocations: 67.97 kB / 0.8935 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.006374, allocations: 16.36 kB / 0.8935 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.006491, allocations: 97.92 kB / 0.8936 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.006498, allocations: 192 / 0.8936 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.00651, allocations: 8.125 kB / 0.8936 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.006515, allocations: 0 / 0.8936 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.006554, allocations: 27.91 kB / 0.8936 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.007112, allocations: 0.5529 MB / 0.8941 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.007395, allocations: 149.2 kB / 0.8943 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.007428, allocations: 35.14 kB / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.007454, allocations: 11.88 kB / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.007584, allocations: 112 kB / 0.8944 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.007585, allocations: 0 / 0.8944 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0002085/0.007793, allocations: 109.5 kB / 0.8945 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.007839, allocations: 114.9 kB / 0.8947 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.007947, allocations: 177.8 kB / 0.8948 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.007966, allocations: 33.7 kB / 0.8949 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.00802, allocations: 139.1 kB / 0.895 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.008045, allocations: 23.75 kB / 0.895 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.008094, allocations: 47.33 kB / 0.8951 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.00821, allocations: 0.4884 MB / 0.8955 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/0.008264, allocations: 15.98 kB / 0.8955 GB, free: 3.469 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.00829, allocations: 15.98 kB / 0.8956 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.912e-05/0.008359, allocations: 58.2 kB / 0.8956 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.008362, allocations: 4 kB / 0.8956 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001149/0.008477, allocations: 97.55 kB / 0.8957 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.008491, allocations: 4 kB / 0.8957 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.008496, allocations: 4 kB / 0.8957 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.00851, allocations: 0 / 0.8957 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.008591, allocations: 19.98 kB / 0.8957 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.008594, allocations: 0 / 0.8957 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.008638, allocations: 19.83 kB / 0.8958 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.008648, allocations: 7.984 kB / 0.8958 GB, free: 3.234 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 8.151e-05/0.008729, allocations: 160.6 kB / 0.8959 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.008751, allocations: 23.83 kB / 0.8959 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.008911, allocations: 102.1 kB / 0.896 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.008915, allocations: 4 kB / 0.896 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.008918, allocations: 320 / 0.896 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.008923, allocations: 4 kB / 0.896 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.009039, allocations: 141.1 kB / 0.8962 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009041, allocations: 0 / 0.8962 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/0.009091, allocations: 16 kB / 0.8962 GB, free: 2.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.009094, allocations: 0 / 0.8962 GB, free: 2.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.009105, allocations: 19.92 kB / 0.8962 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.009107, allocations: 3.938 kB / 0.8962 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009108, allocations: 0 / 0.8962 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.009256, allocations: 155.7 kB / 0.8964 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.009299, allocations: 31.81 kB / 0.8964 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.009316, allocations: 7.938 kB / 0.8964 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.417e-05/0.00935, allocations: 4 kB / 0.8964 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.009386, allocations: 19.97 kB / 0.8964 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.009392, allocations: 0 / 0.8964 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.009438, allocations: 139.2 kB / 0.8966 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.009438, allocations: 7.938 kB / 0.8966 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002249/0.009663, allocations: 67.73 kB / 0.8966 GB, free: 2.27 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.0002165/0.009879, allocations: 175 kB / 0.8968 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.01, allocations: 66.25 kB / 0.8969 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01, allocations: 0 / 0.8969 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.01005, allocations: 47.59 kB / 0.8969 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.01021, allocations: 10.06 kB / 0.8969 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007996/0.01101, allocations: 245.8 kB / 0.8972 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.01105, allocations: 71.28 kB / 0.8972 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.378e-05/0.0111, allocations: 14.23 kB / 0.8972 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.01117, allocations: 86.19 kB / 0.8973 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/0.01117, allocations: 0 / 0.8973 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of Templates: time 0.005042/0.01621, allocations: 2.22 MB / 0.8995 GB, free: 15.3 MB / 0.8698 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.340527187101543]