Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.353/2.353, allocations: 254.9 MB / 269.9 MB, free: 9.625 MB / 218.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.001298/0.001298, allocations: 204.7 kB / 329.5 MB, free: 1.137 MB / 250.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 2.455/2.455, allocations: 225.6 MB / 0.6001 GB, free: 2.219 MB / 426.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.0009991/0.0009986, allocations: 99.42 kB / 0.7074 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005853/0.0005855, allocations: 14.53 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2053, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001686/0.207, allocations: 1.15 MB / 0.9319 GB, free: 23.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2087, allocations: 0.8186 MB / 0.9327 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.2088, allocations: 0 / 0.9327 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.2088, allocations: 11.92 kB / 0.9327 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.209, allocations: 15.86 kB / 0.9327 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.2095, allocations: 115.7 kB / 0.9328 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.2096, allocations: 95.7 kB / 0.9329 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.2097, allocations: 15.98 kB / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.2099, allocations: 47.83 kB / 0.933 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.21, allocations: 35.84 kB / 0.933 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.21, allocations: 4 kB / 0.933 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.2103, allocations: 67.94 kB / 0.9331 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.2103, allocations: 15.98 kB / 0.9331 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.2103, allocations: 41.64 kB / 0.9331 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.2106, allocations: 136 kB / 0.9333 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2106, allocations: 0 / 0.9333 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2106, allocations: 0 / 0.9333 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2106, allocations: 0 / 0.9333 GB, free: 22.54 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00078/0.2114, allocations: 415.1 kB / 0.9337 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2115, allocations: 12.03 kB / 0.9337 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.2115, allocations: 8.844 kB / 0.9337 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.2116, allocations: 172.3 kB / 0.9338 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/0.2117, allocations: 46.19 kB / 0.9339 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.2118, allocations: 4.375 kB / 0.9339 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.212, allocations: 100.4 kB / 0.934 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.212, allocations: 4 kB / 0.934 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.2121, allocations: 3.984 kB / 0.934 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2121, allocations: 0 / 0.934 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.2122, allocations: 47.92 kB / 0.934 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.2129, allocations: 0.5243 MB / 0.9345 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.2136, allocations: 135.7 kB / 0.9347 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.2137, allocations: 46.66 kB / 0.9347 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2138, allocations: 0 / 0.9347 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.2141, allocations: 113.9 kB / 0.9348 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.073e-06/0.2141, allocations: 0 / 0.9348 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0004598/0.2146, allocations: 141.8 kB / 0.935 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.2146, allocations: 106.8 kB / 0.9351 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2147, allocations: 126 kB / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.2148, allocations: 33.7 kB / 0.9352 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.2148, allocations: 96.31 kB / 0.9353 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.2149, allocations: 31.62 kB / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.2149, allocations: 4 kB / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.215, allocations: 318.8 kB / 0.9357 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2151, allocations: 35.98 kB / 0.9357 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2153, allocations: 61.56 kB / 0.9357 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.2154, allocations: 35.94 kB / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2154, allocations: 0 / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003453/0.2158, allocations: 125.9 kB / 0.9359 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2158, allocations: 8 kB / 0.9359 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2158, allocations: 64 / 0.9359 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2159, allocations: 7.938 kB / 0.9359 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.2161, allocations: 19.98 kB / 0.9359 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2161, allocations: 0 / 0.9359 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.2163, allocations: 23.83 kB / 0.936 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.2163, allocations: 8 kB / 0.936 GB, free: 19.47 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.2165, allocations: 125.8 kB / 0.9361 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.2165, allocations: 15.83 kB / 0.9361 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.2168, allocations: 102 kB / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2168, allocations: 4 kB / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2169, allocations: 0 / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.2169, allocations: 23.73 kB / 0.9362 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.2171, allocations: 217.5 kB / 0.9364 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2171, allocations: 0 / 0.9364 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.2173, allocations: 20 kB / 0.9364 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.2173, allocations: 0 / 0.9364 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.2173, allocations: 7.984 kB / 0.9365 GB, free: 18.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.2173, allocations: 0 / 0.9365 GB, free: 18.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2173, allocations: 0 / 0.9365 GB, free: 18.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.2177, allocations: 174.5 kB / 0.9366 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.989e-05/0.2178, allocations: 108.9 kB / 0.9367 GB, free: 18.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.2178, allocations: 0 / 0.9367 GB, free: 18.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.218, allocations: 16.12 kB / 0.9367 GB, free: 18.56 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.2181, allocations: 15.91 kB / 0.9368 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.2181, allocations: 8 kB / 0.9368 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.703e-05/0.2182, allocations: 99.27 kB / 0.9369 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2182, allocations: 0 / 0.9369 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003596/0.2186, allocations: 55.94 kB / 0.9369 GB, free: 18.39 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002739/0.2188, allocations: 155.1 kB / 0.9371 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003272/0.2192, allocations: 87.95 kB / 0.9371 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2192, allocations: 3.938 kB / 0.9371 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.2193, allocations: 52.11 kB / 0.9372 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.2196, allocations: 19.98 kB / 0.9372 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.2202, allocations: 275.2 kB / 0.9375 GB, free: 17.76 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.2204, allocations: 0.7011 MB / 0.9382 GB, free: 17.03 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.2205, allocations: 8.891 kB / 0.9382 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.2206, allocations: 23.42 kB / 0.9382 GB, free: 17 MB / 0.5886 GB Notification: Performance of SimCode: time 1.222e-06/0.2206, allocations: 0 / 0.9382 GB, free: 17 MB / 0.5886 GB Notification: Performance of Templates: time 0.00577/0.2264, allocations: 1.565 MB / 0.9397 GB, free: 15.43 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)