Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000957/0.000957, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001488/0.001488, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9748/0.9748, allocations: 177.1 MB / 204.2 MB, free: 5.219 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.767/1.767, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.787 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.642e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001198/0.001214, allocations: 0.7249 MB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.002797, allocations: 1.599 MB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.002853, allocations: 4.531 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.002885, allocations: 7.875 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.003053, allocations: 20.88 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.003429, allocations: 173.2 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.003568, allocations: 119.6 kB / 0.7896 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.318e-05/0.003661, allocations: 11.98 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.003828, allocations: 73.66 kB / 0.7897 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.459e-05/0.003903, allocations: 43.88 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.003924, allocations: 12 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.004089, allocations: 121.4 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.004118, allocations: 23.91 kB / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.004162, allocations: 31.97 kB / 0.7899 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.004403, allocations: 195.4 kB / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004406, allocations: 1.719 kB / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004406, allocations: 0 / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.004411, allocations: 0 / 0.7901 GB, free: 9.359 MB / 0.7448 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.0005412/0.004952, allocations: 462.5 kB / 0.7906 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.004988, allocations: 8.031 kB / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.005205, allocations: 44.73 kB / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.005348, allocations: 136.5 kB / 0.7907 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-05/0.005406, allocations: 60.59 kB / 0.7908 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.005418, allocations: 14.03 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.00556, allocations: 104.7 kB / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.005569, allocations: 8.125 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.005581, allocations: 4.125 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.005588, allocations: 0 / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.453e-05/0.005642, allocations: 33.7 kB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.006073, allocations: 0.5795 MB / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.006366, allocations: 148.6 kB / 0.7917 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.006408, allocations: 39.14 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.006434, allocations: 8 kB / 0.7917 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005469/0.006981, allocations: 120 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.345e-06/0.006983, allocations: 2.125 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.000274/0.007257, allocations: 109.5 kB / 0.7919 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.007312, allocations: 114.7 kB / 0.792 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.007416, allocations: 181.9 kB / 0.7922 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.007439, allocations: 29.69 kB / 0.7922 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.00751, allocations: 143.6 kB / 0.7924 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.007543, allocations: 27.75 kB / 0.7924 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.007614, allocations: 48.06 kB / 0.7925 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.007774, allocations: 0.4884 MB / 0.7929 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.007866, allocations: 16.52 kB / 0.7929 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.987e-05/0.007916, allocations: 24.36 kB / 0.793 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.008033, allocations: 51.67 kB / 0.793 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.008037, allocations: 3.938 kB / 0.793 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001909/0.008228, allocations: 116.4 kB / 0.7931 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.008245, allocations: 4 kB / 0.7931 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.008251, allocations: 1.312 kB / 0.7931 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.008266, allocations: 0 / 0.7931 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.008437, allocations: 19.98 kB / 0.7932 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.008444, allocations: 5.156 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.008507, allocations: 11.94 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.008522, allocations: 11.92 kB / 0.7932 GB, free: 5.938 MB / 0.7448 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 0.0001233/0.008645, allocations: 173.2 kB / 0.7933 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.008675, allocations: 11.95 kB / 0.7934 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.00891, allocations: 107.1 kB / 0.7935 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.008914, allocations: 4.25 kB / 0.7935 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.00892, allocations: 4.844 kB / 0.7935 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.008925, allocations: 0 / 0.7935 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.009088, allocations: 165.8 kB / 0.7936 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.009091, allocations: 3.938 kB / 0.7936 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.77e-05/0.009169, allocations: 19.98 kB / 0.7937 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.009174, allocations: 0.5 kB / 0.7937 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.009186, allocations: 4 kB / 0.7937 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.009188, allocations: 4.719 kB / 0.7937 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.00919, allocations: 0 / 0.7937 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.009426, allocations: 169.4 kB / 0.7938 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.009485, allocations: 27.81 kB / 0.7939 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.009507, allocations: 7.984 kB / 0.7939 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.009562, allocations: 8 kB / 0.7939 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.009609, allocations: 8.859 kB / 0.7939 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.009622, allocations: 11.98 kB / 0.7939 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.471e-05/0.009686, allocations: 142.6 kB / 0.794 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009686, allocations: 0 / 0.794 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003495/0.01004, allocations: 63.75 kB / 0.7941 GB, free: 4.953 MB / 0.7448 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.0002834/0.01032, allocations: 178.9 kB / 0.7943 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.01051, allocations: 75.58 kB / 0.7943 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.01052, allocations: 0 / 0.7943 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.0106, allocations: 47.61 kB / 0.7944 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01083, allocations: 28.36 kB / 0.7944 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.01159, allocations: 245.2 kB / 0.7946 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.095e-05/0.01164, allocations: 63.34 kB / 0.7947 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.631e-05/0.01171, allocations: 18.31 kB / 0.7947 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.01175, allocations: 20.5 kB / 0.7947 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.01175, allocations: 0 / 0.7947 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of Templates: time 0.005289/0.01704, allocations: 2.177 MB / 0.7969 GB, free: 2.082 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.107674620114267]