Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.905/1.905, allocations: 297.4 MB / 312.6 MB, free: 2.938 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000981/0.0009811, allocations: 186 kB / 382.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 225.7 MB / 0.6617 GB, free: 7.211 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007926/0.0007926, allocations: 98.73 kB / 0.7789 GB, free: 46.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003602, allocations: 9.219 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8847/0.885, allocations: 119.2 MB / 1.022 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001249/0.8864, allocations: 450 kB / 1.023 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.889, allocations: 1.724 MB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.889, allocations: 1 kB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.8891, allocations: 6.859 kB / 1.024 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.8893, allocations: 19.62 kB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.8897, allocations: 128.5 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.8899, allocations: 111.2 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.89, allocations: 19.44 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.8902, allocations: 45.25 kB / 1.025 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.8903, allocations: 40.42 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.8904, allocations: 6.031 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.8906, allocations: 69.69 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.8906, allocations: 18.22 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.132e-05/0.8907, allocations: 68.31 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.8911, allocations: 184.5 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.8912, allocations: 0 / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8912, allocations: 0 / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8912, allocations: 1.344 kB / 1.025 GB, free: 56.41 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.0007508/0.8919, allocations: 409.9 kB / 1.025 GB, free: 56.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.892, allocations: 10.03 kB / 1.025 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.8921, allocations: 10.86 kB / 1.025 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.8922, allocations: 186.9 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.8923, allocations: 35.77 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.8923, allocations: 8.656 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.8925, allocations: 106.6 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.8926, allocations: 3.938 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.8926, allocations: 2.25 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.8926, allocations: 1.375 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.8927, allocations: 50.3 kB / 1.026 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006768/0.8934, allocations: 0.526 MB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.8939, allocations: 136 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.894, allocations: 41.84 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.894, allocations: 4.25 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.8942, allocations: 113.3 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.8943, allocations: 0 / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003287/0.8946, allocations: 148.2 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.8947, allocations: 104.3 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.8948, allocations: 130.7 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.8948, allocations: 29.77 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.8948, allocations: 94.33 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.8949, allocations: 25.72 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.8949, allocations: 8.125 kB / 1.027 GB, free: 54.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.895, allocations: 325.6 kB / 1.027 GB, free: 54.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.895, allocations: 36.66 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.8951, allocations: 44.31 kB / 1.028 GB, free: 54.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.8953, allocations: 74.52 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8953, allocations: 0 / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002371/0.8956, allocations: 131.1 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.8956, allocations: 7.656 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8956, allocations: 4 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8956, allocations: 5.125 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.8957, allocations: 21.7 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.8958, allocations: 1.781 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.151e-05/0.8958, allocations: 5.375 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.8959, allocations: 14.73 kB / 1.028 GB, free: 54.02 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 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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.515e-05/0.896, allocations: 124.3 kB / 1.028 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.896, allocations: 7.531 kB / 1.028 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.8962, allocations: 114.2 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.8962, allocations: 2.844 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8963, allocations: 3.5 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.8963, allocations: 3.469 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.8964, allocations: 224.2 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.8965, allocations: 0.75 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.936e-05/0.8966, allocations: 28.39 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.8966, allocations: 1.281 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.8966, allocations: 6.312 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.8966, allocations: 1 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8966, allocations: 4.906 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.8968, allocations: 173.2 kB / 1.028 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.8969, allocations: 104.2 kB / 1.029 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.897, allocations: 5.625 kB / 1.029 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.897, allocations: 16.91 kB / 1.029 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.8971, allocations: 11.7 kB / 1.029 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.8971, allocations: 11.53 kB / 1.029 GB, free: 53.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.457e-05/0.8972, allocations: 97.45 kB / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8972, allocations: 3.938 kB / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002827/0.8975, allocations: 59.19 kB / 1.029 GB, free: 53.25 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.0002525/0.8977, allocations: 156.1 kB / 1.029 GB, free: 53.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.898, allocations: 98.94 kB / 1.029 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.898, allocations: 0 / 1.029 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.792e-05/0.8981, allocations: 52.38 kB / 1.029 GB, free: 53.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.8983, allocations: 14.25 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.8988, allocations: 278.8 kB / 1.029 GB, free: 52.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.899, allocations: 0.6967 MB / 1.03 GB, free: 52.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.027e-05/0.8991, allocations: 17.61 kB / 1.03 GB, free: 52.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.8992, allocations: 21.03 kB / 1.03 GB, free: 52.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.8992, allocations: 2.875 kB / 1.03 GB, free: 52.16 MB / 0.698 GB Notification: Performance of Templates: time 0.005167/0.9043, allocations: 1.617 MB / 1.032 GB, free: 52.03 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)