Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 115.5 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 437.1 MB / 0.7177 GB, free: 4.555 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 1.028 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3036, allocations: 151.6 MB / 1.176 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002119/0.3058, allocations: 0.7162 MB / 1.177 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.3081, allocations: 1.528 MB / 1.178 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.157e-05/0.3082, allocations: 0 / 1.178 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.3082, allocations: 3.938 kB / 1.178 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.3084, allocations: 23.78 kB / 1.178 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.3089, allocations: 159.3 kB / 1.178 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3091, allocations: 119.6 kB / 1.178 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3092, allocations: 27.97 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3093, allocations: 47.84 kB / 1.178 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3094, allocations: 51.81 kB / 1.178 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.3095, allocations: 8 kB / 1.178 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.3097, allocations: 103.9 kB / 1.179 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.3097, allocations: 27.91 kB / 1.179 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.3098, allocations: 43.8 kB / 1.179 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.3101, allocations: 207.3 kB / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3101, allocations: 0 / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3101, allocations: 0 / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3102, allocations: 0 / 1.179 GB, free: 2.863 MB / 0.92 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.0007657/0.3109, allocations: 430.8 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.311, allocations: 11.97 kB / 1.179 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.311, allocations: 12.89 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3112, allocations: 176.3 kB / 1.179 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-05/0.3113, allocations: 34.27 kB / 1.179 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3113, allocations: 4.375 kB / 1.179 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.3115, allocations: 112.3 kB / 1.18 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3116, allocations: 4 kB / 1.18 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3116, allocations: 0 / 1.18 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3116, allocations: 4 kB / 1.18 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.3117, allocations: 47.89 kB / 1.18 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000761/0.3125, allocations: 0.5167 MB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.313, allocations: 131.7 kB / 1.18 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.546e-05/0.3131, allocations: 54.59 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3131, allocations: 0 / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.3134, allocations: 113.9 kB / 1.18 GB, free: 1.012 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3134, allocations: 0 / 1.18 GB, free: 1.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.00037/0.3138, allocations: 153.7 kB / 1.181 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.3139, allocations: 110.8 kB / 1.181 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.314, allocations: 125.8 kB / 1.181 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.314, allocations: 29.7 kB / 1.181 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.3141, allocations: 96.31 kB / 1.181 GB, free: 464 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.3142, allocations: 27.8 kB / 1.181 GB, free: 436 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.3142, allocations: 37.7 kB / 1.181 GB, free: 392 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3144, allocations: 314.9 kB / 1.181 GB, free: 68 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.97e-05/0.3145, allocations: 47.91 kB / 1.181 GB, free: 20 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3146, allocations: 42.59 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3148, allocations: 72.84 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3148, allocations: 3.938 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002523/0.315, allocations: 130.8 kB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3151, allocations: 4 kB / 1.182 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3151, allocations: 192 / 1.182 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3151, allocations: 0 / 1.182 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3152, allocations: 19.98 kB / 1.182 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3152, allocations: 4 kB / 1.182 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.595e-05/0.3153, allocations: 15.94 kB / 1.182 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.3154, allocations: 11.92 kB / 1.182 GB, free: 15.71 MB / 0.9356 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.0001116/0.3155, allocations: 125.8 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.3155, allocations: 11.89 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.3157, allocations: 118 kB / 1.182 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3158, allocations: 4 kB / 1.182 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3158, allocations: 0 / 1.182 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3158, allocations: 0 / 1.182 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.316, allocations: 225.3 kB / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.316, allocations: 0 / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/0.3161, allocations: 23.98 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3161, allocations: 0 / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3161, allocations: 4 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3162, allocations: 0 / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3162, allocations: 7.938 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3164, allocations: 178.6 kB / 1.182 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.3165, allocations: 97.05 kB / 1.182 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.3166, allocations: 8.078 kB / 1.182 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.3167, allocations: 11.98 kB / 1.182 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.3167, allocations: 23.92 kB / 1.182 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3167, allocations: 4 kB / 1.182 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.097e-05/0.3168, allocations: 99.27 kB / 1.182 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3168, allocations: 0 / 1.182 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002895/0.3171, allocations: 59.8 kB / 1.183 GB, free: 14.62 MB / 0.9356 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.0002395/0.3174, allocations: 158.9 kB / 1.183 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.3176, allocations: 93.88 kB / 1.183 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3176, allocations: 0 / 1.183 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.886e-05/0.3177, allocations: 59.91 kB / 1.183 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.318, allocations: 12 kB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.3184, allocations: 254.9 kB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3188, allocations: 0.704 MB / 1.184 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.3188, allocations: 23.44 kB / 1.184 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3188, allocations: 0 / 1.184 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.003995/0.3228, allocations: 1.819 MB / 1.186 GB, free: 11.44 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.196223872946575]