Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001675/0.001675, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.002077/0.002077, allocations: 163.7 kB / 23.01 MB, free: 4.602 MB / 14.72 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.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.042/3.042, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 63.91 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.077, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002072/1.079, allocations: 0.7059 MB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0019/1.081, allocations: 1.555 MB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/1.081, allocations: 1.375 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/1.081, allocations: 5.297 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/1.081, allocations: 25.52 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/1.081, allocations: 166.4 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/1.081, allocations: 116.8 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/1.082, allocations: 10.66 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/1.082, allocations: 58.27 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/1.082, allocations: 47.14 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/1.082, allocations: 11.19 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/1.082, allocations: 116.1 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/1.082, allocations: 25.41 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/1.082, allocations: 41.16 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/1.083, allocations: 221.5 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.083, allocations: 0.8125 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.694e-06/1.083, allocations: 0 / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.55e-06/1.083, allocations: 0 / 1.19 GB, free: 14.3 MB / 1.076 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.0006281/1.083, allocations: 356.4 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/1.083, allocations: 9.406 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/1.084, allocations: 34.47 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.91e-05/1.084, allocations: 124.9 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-05/1.084, allocations: 62.39 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/1.084, allocations: 5.375 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/1.084, allocations: 107.3 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.084, allocations: 1.062 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/1.084, allocations: 5.125 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/1.084, allocations: 1.344 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/1.084, allocations: 48.84 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/1.085, allocations: 459.4 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/1.085, allocations: 131.9 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/1.085, allocations: 43.55 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/1.085, allocations: 1.281 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/1.085, allocations: 114 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/1.085, allocations: 4 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0003344/1.086, allocations: 144 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/1.086, allocations: 107.7 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/1.086, allocations: 128.8 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/1.086, allocations: 27.08 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/1.086, allocations: 92.81 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/1.086, allocations: 34.28 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/1.086, allocations: 38.52 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/1.086, allocations: 323.2 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.236e-05/1.086, allocations: 34.92 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/1.086, allocations: 40.16 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/1.086, allocations: 78.91 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.086, allocations: 0 / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002328/1.087, allocations: 130.5 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.087, allocations: 5.156 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.087, allocations: 4.891 kB / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.087, allocations: 1.25 kB / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/1.087, allocations: 26.86 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/1.087, allocations: 1.031 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.673e-05/1.087, allocations: 14.73 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/1.087, allocations: 9.234 kB / 1.192 GB, free: 12.06 MB / 1.076 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 7.101e-05/1.087, allocations: 122.4 kB / 1.192 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/1.087, allocations: 13.66 kB / 1.192 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/1.087, allocations: 121.3 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.087, allocations: 2.625 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.087, allocations: 1.469 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.087, allocations: 0.7031 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/1.087, allocations: 151.2 kB / 1.193 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.087, allocations: 1.125 kB / 1.193 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-05/1.087, allocations: 26.36 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.087, allocations: 1.219 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/1.087, allocations: 2.391 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.087, allocations: 2.172 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.087, allocations: 1.344 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/1.088, allocations: 184.6 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/1.088, allocations: 22.12 kB / 1.193 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/1.088, allocations: 6.812 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/1.088, allocations: 10.77 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/1.088, allocations: 15.47 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/1.088, allocations: 4.172 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.44e-05/1.088, allocations: 99.95 kB / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.088, allocations: 0 / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003134/1.088, allocations: 66.75 kB / 1.193 GB, free: 11.45 MB / 1.076 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.0002289/1.089, allocations: 177.2 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000248/1.089, allocations: 93.95 kB / 1.193 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/1.089, allocations: 1.031 kB / 1.193 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.494e-05/1.089, allocations: 52.56 kB / 1.193 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/1.089, allocations: 11.73 kB / 1.193 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/1.089, allocations: 237.5 kB / 1.194 GB, free: 11.08 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.601e-05/1.09, allocations: 89.36 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.74e-05/1.09, allocations: 21.86 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/1.09, allocations: 19.03 kB / 1.194 GB, free: 10.99 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/1.09, allocations: 0 / 1.194 GB, free: 10.99 MB / 1.076 GB Notification: Performance of Templates: time 0.005905/1.096, allocations: 1.938 MB / 1.196 GB, free: 10.74 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.477523330948316]