Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00175/0.00175, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.001941/0.001941, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.49/1.49, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.909/2.909, allocations: 0.49 GB / 0.7923 GB, free: 1.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002071/0.002071, allocations: 63.91 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.099, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00182/1.101, allocations: 0.7121 MB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001828/1.102, allocations: 1.635 MB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/1.102, allocations: 3.938 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.827e-05/1.102, allocations: 7.266 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001745/1.103, allocations: 14.89 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/1.103, allocations: 176.1 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/1.103, allocations: 119.8 kB / 1.325 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/1.103, allocations: 17.64 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/1.103, allocations: 45.19 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.748e-05/1.104, allocations: 56.05 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/1.104, allocations: 11.22 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/1.104, allocations: 124.8 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/1.104, allocations: 27.91 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/1.104, allocations: 45.94 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/1.104, allocations: 226.5 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.104, allocations: 0 / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.913e-06/1.104, allocations: 0 / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.122e-06/1.104, allocations: 0 / 1.325 GB, free: 23.04 MB / 1.061 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.0006835/1.105, allocations: 437.6 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.105, allocations: 12.08 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/1.105, allocations: 28.55 kB / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/1.105, allocations: 177.4 kB / 1.326 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/1.105, allocations: 37.08 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/1.105, allocations: 5.438 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/1.106, allocations: 103.2 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.106, allocations: 3.984 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/1.106, allocations: 4 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/1.106, allocations: 2.562 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/1.106, allocations: 50.23 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/1.106, allocations: 0.516 MB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/1.107, allocations: 135.7 kB / 1.327 GB, free: 21.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.947e-05/1.107, allocations: 48 kB / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/1.107, allocations: 3.938 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/1.107, allocations: 111.5 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/1.107, allocations: 3.938 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003212/1.107, allocations: 144.3 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.107, allocations: 109.5 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/1.108, allocations: 124.1 kB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/1.108, allocations: 35.81 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/1.108, allocations: 91.06 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/1.108, allocations: 32.75 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/1.108, allocations: 31.89 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.444e-05/1.108, allocations: 324.5 kB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/1.108, allocations: 37.77 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/1.108, allocations: 39.8 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/1.108, allocations: 76.2 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.108, allocations: 0 / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002614/1.108, allocations: 133.3 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.108, allocations: 9.375 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.108, allocations: 0 / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.108, allocations: 1.219 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/1.109, allocations: 21.64 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.109, allocations: 9.094 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.789e-05/1.109, allocations: 16.64 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/1.109, allocations: 10.94 kB / 1.328 GB, free: 20.58 MB / 1.061 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 8.066e-05/1.109, allocations: 122.3 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/1.109, allocations: 8.172 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/1.109, allocations: 112.1 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.109, allocations: 6.25 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.109, allocations: 0.875 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.109, allocations: 4.016 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/1.109, allocations: 226.6 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.109, allocations: 0.8438 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.965e-05/1.109, allocations: 14.78 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/1.109, allocations: 9.062 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/1.109, allocations: 5.75 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.109, allocations: 1.406 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.109, allocations: 1.344 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/1.11, allocations: 178.6 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/1.11, allocations: 101.9 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/1.11, allocations: 2.781 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/1.11, allocations: 10.52 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/1.11, allocations: 21.81 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/1.11, allocations: 8.219 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.543e-05/1.11, allocations: 101.9 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.11, allocations: 0.7812 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003387/1.11, allocations: 67.62 kB / 1.329 GB, free: 19.79 MB / 1.061 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.0002852/1.111, allocations: 171 kB / 1.329 GB, free: 19.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00027/1.111, allocations: 89.86 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.111, allocations: 0 / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/1.111, allocations: 50.17 kB / 1.329 GB, free: 19.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/1.111, allocations: 23 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/1.112, allocations: 258.2 kB / 1.329 GB, free: 19.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/1.112, allocations: 0.7065 MB / 1.33 GB, free: 18.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/1.112, allocations: 18.55 kB / 1.33 GB, free: 18.69 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.112, allocations: 4.938 kB / 1.33 GB, free: 18.68 MB / 1.061 GB Notification: Performance of Templates: time 0.004978/1.117, allocations: 2.017 MB / 1.332 GB, free: 18.45 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.515481351991184]