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.002532/0.002532, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002437/0.002437, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.004/3.004, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.583e-06/1.583e-06, allocations: 1.203 kB / 0.7863 GB, free: 11.75 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.094e-05, allocations: 2.312 kB / 0.7863 GB, free: 11.75 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001935/0.001966, allocations: 0.7123 MB / 0.787 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002432/0.004398, allocations: 1.572 MB / 0.7886 GB, free: 9.469 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.004455, allocations: 0 / 0.7886 GB, free: 9.469 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.004487, allocations: 7.875 kB / 0.7886 GB, free: 9.461 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.004678, allocations: 20.53 kB / 0.7886 GB, free: 9.441 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.005164, allocations: 172.8 kB / 0.7888 GB, free: 9.273 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.005347, allocations: 113.3 kB / 0.7889 GB, free: 9.164 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.926e-05/0.005436, allocations: 15.97 kB / 0.7889 GB, free: 9.148 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.00565, allocations: 79.81 kB / 0.789 GB, free: 9.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.312e-05/0.005743, allocations: 36.45 kB / 0.789 GB, free: 9.035 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.005775, allocations: 12 kB / 0.789 GB, free: 9.023 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.006018, allocations: 123.3 kB / 0.7891 GB, free: 8.906 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.006068, allocations: 23.91 kB / 0.7892 GB, free: 8.883 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.006126, allocations: 31.92 kB / 0.7892 GB, free: 8.852 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.006524, allocations: 251.2 kB / 0.7894 GB, free: 8.605 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006527, allocations: 0 / 0.7894 GB, free: 8.605 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.42e-07/0.006528, allocations: 0 / 0.7894 GB, free: 8.605 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.006533, allocations: 0 / 0.7894 GB, free: 8.605 MB / 0.698 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.0008161/0.007349, allocations: 477.9 kB / 0.7899 GB, free: 8.105 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.007384, allocations: 8.031 kB / 0.7899 GB, free: 8.098 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.007737, allocations: 44.73 kB / 0.7899 GB, free: 8.055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.007878, allocations: 121.6 kB / 0.79 GB, free: 7.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/0.007968, allocations: 55.97 kB / 0.7901 GB, free: 7.844 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.00799, allocations: 12.38 kB / 0.7901 GB, free: 7.832 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.0082, allocations: 110 kB / 0.7902 GB, free: 7.707 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.00821, allocations: 192 / 0.7902 GB, free: 7.707 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.00823, allocations: 12.12 kB / 0.7902 GB, free: 7.695 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.008235, allocations: 1.344 kB / 0.7902 GB, free: 7.695 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.008355, allocations: 43.97 kB / 0.7903 GB, free: 7.652 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.009155, allocations: 0.5922 MB / 0.7909 GB, free: 7.016 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.009699, allocations: 167.7 kB / 0.791 GB, free: 6.816 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.009788, allocations: 55.14 kB / 0.7911 GB, free: 6.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.009811, allocations: 4 kB / 0.7911 GB, free: 6.746 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.01005, allocations: 132.5 kB / 0.7912 GB, free: 6.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.01005, allocations: 0.5 kB / 0.7912 GB, free: 6.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004189/0.01047, allocations: 154 kB / 0.7913 GB, free: 6.434 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.01056, allocations: 111.6 kB / 0.7914 GB, free: 6.301 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.01074, allocations: 205.7 kB / 0.7916 GB, free: 6.082 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.01077, allocations: 34.52 kB / 0.7917 GB, free: 6.043 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.01086, allocations: 135.1 kB / 0.7918 GB, free: 5.902 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.01092, allocations: 36.33 kB / 0.7918 GB, free: 5.867 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.565e-05/0.011, allocations: 51.31 kB / 0.7919 GB, free: 5.809 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002583/0.01126, allocations: 0.4897 MB / 0.7924 GB, free: 5.309 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.01136, allocations: 39.92 kB / 0.7924 GB, free: 5.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.703e-05/0.01146, allocations: 39.97 kB / 0.7924 GB, free: 5.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.01167, allocations: 84.05 kB / 0.7925 GB, free: 5.148 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.01167, allocations: 3.938 kB / 0.7925 GB, free: 5.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003417/0.01201, allocations: 133.5 kB / 0.7927 GB, free: 5.008 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.01203, allocations: 8 kB / 0.7927 GB, free: 5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01204, allocations: 0.6562 kB / 0.7927 GB, free: 5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.01205, allocations: 0.7188 kB / 0.7927 GB, free: 5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.0122, allocations: 23.97 kB / 0.7927 GB, free: 4.977 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.01221, allocations: 4.812 kB / 0.7927 GB, free: 4.973 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/0.0123, allocations: 8 kB / 0.7927 GB, free: 4.965 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.01231, allocations: 0.9375 kB / 0.7927 GB, free: 4.965 MB / 0.698 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.0002764/0.01259, allocations: 180.4 kB / 0.7929 GB, free: 4.777 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.01262, allocations: 13.17 kB / 0.7929 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.01292, allocations: 110.9 kB / 0.793 GB, free: 4.652 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01292, allocations: 4 kB / 0.793 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01293, allocations: 0 / 0.793 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.01293, allocations: 6.516 kB / 0.793 GB, free: 4.645 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.01314, allocations: 168.5 kB / 0.7932 GB, free: 4.445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.01315, allocations: 7.938 kB / 0.7932 GB, free: 4.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.841e-05/0.01325, allocations: 19.98 kB / 0.7932 GB, free: 4.418 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01325, allocations: 0 / 0.7932 GB, free: 4.418 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.01327, allocations: 8 kB / 0.7932 GB, free: 4.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01327, allocations: 3.188 kB / 0.7932 GB, free: 4.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01327, allocations: 3.938 kB / 0.7932 GB, free: 4.406 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.01359, allocations: 203.6 kB / 0.7934 GB, free: 4.176 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.01365, allocations: 24.11 kB / 0.7934 GB, free: 4.152 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.01367, allocations: 4 kB / 0.7934 GB, free: 4.148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.01377, allocations: 11.98 kB / 0.7934 GB, free: 4.137 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.01382, allocations: 11.97 kB / 0.7934 GB, free: 4.125 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.01383, allocations: 8 kB / 0.7935 GB, free: 4.117 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001047/0.01394, allocations: 155.7 kB / 0.7936 GB, free: 3.969 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.01394, allocations: 0 / 0.7936 GB, free: 3.969 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002989/0.01424, allocations: 67.73 kB / 0.7937 GB, free: 3.902 MB / 0.698 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.000304/0.01454, allocations: 179.9 kB / 0.7938 GB, free: 3.719 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.01482, allocations: 110.1 kB / 0.7939 GB, free: 3.609 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01482, allocations: 0 / 0.7939 GB, free: 3.609 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.01494, allocations: 60.67 kB / 0.794 GB, free: 3.547 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.01514, allocations: 15.92 kB / 0.794 GB, free: 3.531 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.01566, allocations: 251.2 kB / 0.7943 GB, free: 3.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.131e-05/0.01575, allocations: 86.53 kB / 0.7943 GB, free: 3.141 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.056e-05/0.01581, allocations: 10.78 kB / 0.7943 GB, free: 3.133 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.01586, allocations: 20.48 kB / 0.7944 GB, free: 3.113 MB / 0.698 GB Notification: Performance of SimCode: time 5e-07/0.01586, allocations: 7.531 kB / 0.7944 GB, free: 3.109 MB / 0.698 GB Notification: Performance of Templates: time 0.006047/0.02191, allocations: 1.99 MB / 0.7963 GB, free: 1.156 MB / 0.698 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.096203941036947]