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.0009199/0.0009199, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009713/0.0009713, allocations: 181 kB / 24.09 MB, free: 412 kB / 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.995/0.995, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.76/1.76, allocations: 359 MB / 0.6055 GB, free: 10.88 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 2.074e-06/2.074e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.767e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00303/0.003068, allocations: 0.709 MB / 0.7882 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.005692, allocations: 1.591 MB / 0.7898 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.00579, allocations: 5 kB / 0.7898 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/0.005833, allocations: 3.938 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.006056, allocations: 19.84 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.006631, allocations: 172.8 kB / 0.79 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.006834, allocations: 122.1 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.006942, allocations: 11.98 kB / 0.7901 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.007218, allocations: 79.75 kB / 0.7902 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.007331, allocations: 39.94 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.007361, allocations: 8 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.007662, allocations: 120.5 kB / 0.7903 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.007706, allocations: 25.56 kB / 0.7904 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.007759, allocations: 35.91 kB / 0.7904 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.008158, allocations: 191.4 kB / 0.7906 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.008164, allocations: 0 / 0.7906 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.432e-06/0.008165, allocations: 0 / 0.7906 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.008172, allocations: 0.6875 kB / 0.7906 GB, free: 9.113 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.0007012/0.008873, allocations: 462.3 kB / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.008919, allocations: 8.031 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.009252, allocations: 46.55 kB / 0.7911 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.009443, allocations: 140.5 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.678e-05/0.00953, allocations: 59.97 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.009548, allocations: 12.36 kB / 0.7913 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.009719, allocations: 109.3 kB / 0.7914 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.00973, allocations: 0.6875 kB / 0.7914 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.009742, allocations: 4.844 kB / 0.7914 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.009749, allocations: 0 / 0.7914 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.168e-05/0.00981, allocations: 28.44 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.01038, allocations: 0.5584 MB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.01078, allocations: 139 kB / 0.7921 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.01084, allocations: 43.08 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.01087, allocations: 9.094 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.01104, allocations: 116 kB / 0.7922 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.225e-06/0.01105, allocations: 1.375 kB / 0.7922 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002861/0.01133, allocations: 113.5 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.01139, allocations: 106.8 kB / 0.7925 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.01152, allocations: 191.5 kB / 0.7926 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.01154, allocations: 29.7 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.01161, allocations: 139.1 kB / 0.7928 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.01164, allocations: 31.72 kB / 0.7928 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.0117, allocations: 43.34 kB / 0.7929 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.01187, allocations: 0.489 MB / 0.7933 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.01193, allocations: 16.8 kB / 0.7934 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.01197, allocations: 15.98 kB / 0.7934 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.01207, allocations: 56.31 kB / 0.7934 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.01207, allocations: 0 / 0.7934 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001664/0.01224, allocations: 97.5 kB / 0.7935 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.01226, allocations: 8 kB / 0.7935 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01227, allocations: 0.9062 kB / 0.7935 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.01228, allocations: 0 / 0.7935 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.01249, allocations: 23.92 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.0125, allocations: 7.438 kB / 0.7936 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.121e-05/0.01259, allocations: 15.92 kB / 0.7936 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.0126, allocations: 0 / 0.7936 GB, free: 5.758 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.0001199/0.01272, allocations: 162.3 kB / 0.7937 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.01275, allocations: 15.89 kB / 0.7937 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.01296, allocations: 106.1 kB / 0.7938 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01296, allocations: 0.5 kB / 0.7938 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01296, allocations: 5.938 kB / 0.7939 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.01297, allocations: 0 / 0.7939 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.01311, allocations: 141.1 kB / 0.794 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01311, allocations: 0 / 0.794 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.01318, allocations: 23.92 kB / 0.794 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01318, allocations: 4 kB / 0.794 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01319, allocations: 10.16 kB / 0.794 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01319, allocations: 320 / 0.794 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.01319, allocations: 4 kB / 0.794 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.01338, allocations: 163.7 kB / 0.7942 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.01342, allocations: 23.88 kB / 0.7942 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.01344, allocations: 7.938 kB / 0.7942 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.01349, allocations: 12.89 kB / 0.7942 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.01353, allocations: 11.92 kB / 0.7942 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.01353, allocations: 8.844 kB / 0.7942 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.01358, allocations: 131.2 kB / 0.7944 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01358, allocations: 1.281 kB / 0.7944 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002129/0.0138, allocations: 67.73 kB / 0.7944 GB, free: 4.812 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.0002234/0.01402, allocations: 181.7 kB / 0.7946 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.01415, allocations: 67.58 kB / 0.7947 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01415, allocations: 0 / 0.7947 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.952e-05/0.0142, allocations: 45.72 kB / 0.7947 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.01438, allocations: 17.88 kB / 0.7947 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.01493, allocations: 244.2 kB / 0.795 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.01497, allocations: 67.34 kB / 0.795 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.183e-05/0.01502, allocations: 14.69 kB / 0.795 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.0151, allocations: 86.19 kB / 0.7951 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.0151, allocations: 0 / 0.7951 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.003875/0.01898, allocations: 2.21 MB / 0.7973 GB, free: 1.855 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: 4.958683262113482]