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.001843/0.001843, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002166/0.002166, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.542/1.542, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.804/2.804, allocations: 359 MB / 0.6048 GB, free: 10.91 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.894e-06/1.894e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.198e-05, allocations: 3.156 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.003162/0.003194, allocations: 0.7226 MB / 0.787 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00398/0.007174, allocations: 1.549 MB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.007246, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.63e-05/0.007292, allocations: 3.938 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.00755, allocations: 36.22 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.00831, allocations: 165.3 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000289/0.008599, allocations: 119.6 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.008712, allocations: 17.39 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.008998, allocations: 67.88 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.009143, allocations: 43.88 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.009186, allocations: 13.06 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/0.009598, allocations: 119.8 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.009658, allocations: 29.47 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.009744, allocations: 31.97 kB / 0.7892 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.01034, allocations: 239.3 kB / 0.7894 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01035, allocations: 3.938 kB / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01035, allocations: 0 / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.01035, allocations: 5.875 kB / 0.7894 GB, free: 9.691 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.001072/0.01143, allocations: 356.1 kB / 0.7898 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.01147, allocations: 8.031 kB / 0.7898 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/0.01206, allocations: 32.81 kB / 0.7898 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.01228, allocations: 133.6 kB / 0.7899 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.01242, allocations: 55.97 kB / 0.79 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.01245, allocations: 9 kB / 0.79 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.01276, allocations: 98.44 kB / 0.7901 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.01277, allocations: 192 / 0.7901 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.01281, allocations: 8.125 kB / 0.7901 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.01281, allocations: 0 / 0.7901 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.013, allocations: 43.92 kB / 0.7901 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.01406, allocations: 454.2 kB / 0.7906 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008808/0.01494, allocations: 145.2 kB / 0.7907 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.01509, allocations: 44.94 kB / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.01513, allocations: 4 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/0.01551, allocations: 117.8 kB / 0.7909 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.874e-06/0.01551, allocations: 0 / 0.7909 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0006139/0.01612, allocations: 146.3 kB / 0.791 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.01624, allocations: 106.8 kB / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.01645, allocations: 130.3 kB / 0.7912 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.01649, allocations: 31.36 kB / 0.7913 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.0166, allocations: 96.47 kB / 0.7913 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.01665, allocations: 31.7 kB / 0.7914 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.01677, allocations: 37.7 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002572/0.01702, allocations: 318.8 kB / 0.7917 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.01721, allocations: 36.58 kB / 0.7918 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.01738, allocations: 37.3 kB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.01772, allocations: 76.83 kB / 0.7919 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.01773, allocations: 3.938 kB / 0.7919 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005188/0.01824, allocations: 130.7 kB / 0.792 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.01827, allocations: 8 kB / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01827, allocations: 3.938 kB / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.01829, allocations: 1.375 kB / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.01849, allocations: 20.23 kB / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.0185, allocations: 0 / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.01866, allocations: 17.73 kB / 0.792 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.01868, allocations: 4 kB / 0.792 GB, free: 6.766 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.0001773/0.01886, allocations: 125.8 kB / 0.7922 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.01892, allocations: 15.88 kB / 0.7922 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.01935, allocations: 111.3 kB / 0.7923 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.01936, allocations: 4.234 kB / 0.7923 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.01937, allocations: 0.6562 kB / 0.7923 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.01938, allocations: 16.75 kB / 0.7923 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.0197, allocations: 145.3 kB / 0.7924 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.01971, allocations: 3.938 kB / 0.7924 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.01991, allocations: 21.53 kB / 0.7925 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.01992, allocations: 3.984 kB / 0.7925 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.01993, allocations: 4 kB / 0.7925 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.01994, allocations: 0 / 0.7925 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01994, allocations: 0.9688 kB / 0.7925 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.02043, allocations: 187.6 kB / 0.7927 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.02052, allocations: 27.25 kB / 0.7927 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.02056, allocations: 4 kB / 0.7927 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.02069, allocations: 11.98 kB / 0.7927 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.02077, allocations: 11.98 kB / 0.7927 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.02079, allocations: 4 kB / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001187/0.02091, allocations: 99.27 kB / 0.7928 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02091, allocations: 0 / 0.7928 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000559/0.02147, allocations: 67.73 kB / 0.7929 GB, free: 5.859 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.0004672/0.02194, allocations: 184.8 kB / 0.793 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.02232, allocations: 91.95 kB / 0.7931 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.02233, allocations: 0 / 0.7931 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.0225, allocations: 47.92 kB / 0.7932 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.02286, allocations: 23.86 kB / 0.7932 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008125/0.02367, allocations: 227.7 kB / 0.7934 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.02381, allocations: 89.09 kB / 0.7935 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.02392, allocations: 12.48 kB / 0.7935 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.02401, allocations: 20.5 kB / 0.7935 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.02401, allocations: 2.438 kB / 0.7935 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of Templates: time 0.007272/0.03128, allocations: 1.992 MB / 0.7955 GB, free: 3.168 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] 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: 7.994270262075588]