Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.853/1.853, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001311/0.001312, allocations: 171.5 kB / 393.1 MB, free: 4.07 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.756/1.756, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.0009475, allocations: 100.3 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.0004112, allocations: 11.98 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8652/0.8657, allocations: 121.3 MB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001054/0.8668, allocations: 455.1 kB / 1.041 GB, free: 57.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.869, allocations: 1.716 MB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.8691, allocations: 2.062 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.8691, allocations: 4.781 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.8693, allocations: 18.17 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.8697, allocations: 133.1 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.8699, allocations: 109.4 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.87, allocations: 18.89 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.8702, allocations: 40.7 kB / 1.043 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.8703, allocations: 43.69 kB / 1.043 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.8704, allocations: 3.469 kB / 1.043 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.8706, allocations: 73.42 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.8706, allocations: 16.14 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.8707, allocations: 70.81 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.871, allocations: 181.7 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.871, allocations: 1.281 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.871, allocations: 0 / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.8711, allocations: 0 / 1.044 GB, free: 56.25 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.0007641/0.8718, allocations: 414.6 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.8719, allocations: 9.531 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.8719, allocations: 13.67 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.8721, allocations: 183.1 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.404e-05/0.8722, allocations: 35.05 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.8722, allocations: 6.25 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.8724, allocations: 102.8 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.8724, allocations: 1 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.8725, allocations: 0.5938 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.8725, allocations: 2.5 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.8726, allocations: 51.09 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.8732, allocations: 0.5231 MB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.8737, allocations: 135.7 kB / 1.045 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.8738, allocations: 45.09 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.8739, allocations: 4.484 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.8741, allocations: 114.9 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.8741, allocations: 0 / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003334/0.8745, allocations: 138.9 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.8745, allocations: 112.5 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.8746, allocations: 127.7 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.8746, allocations: 33.3 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.8747, allocations: 92.42 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.8747, allocations: 31.62 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.8747, allocations: 4 kB / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.8748, allocations: 324.5 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.8749, allocations: 36.58 kB / 1.046 GB, free: 54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.875, allocations: 39.91 kB / 1.046 GB, free: 53.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.8752, allocations: 78.83 kB / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8752, allocations: 4 kB / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000231/0.8754, allocations: 132.6 kB / 1.046 GB, free: 53.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.8754, allocations: 7.312 kB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8754, allocations: 2.922 kB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.8755, allocations: 0 / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.8756, allocations: 22.09 kB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.8756, allocations: 1.031 kB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.8757, allocations: 10.47 kB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.8757, allocations: 16.28 kB / 1.046 GB, free: 53.85 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.814e-05/0.8758, allocations: 121.5 kB / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.8758, allocations: 15.09 kB / 1.047 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.8761, allocations: 110 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.8761, allocations: 5.375 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8761, allocations: 7.891 kB / 1.047 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8761, allocations: 0 / 1.047 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.8763, allocations: 218.8 kB / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8763, allocations: 3.25 kB / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.021e-05/0.8764, allocations: 19.52 kB / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8764, allocations: 2.375 kB / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.8764, allocations: 8.438 kB / 1.047 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.8764, allocations: 1.094 kB / 1.047 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8764, allocations: 0 / 1.047 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.8766, allocations: 176.8 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.8767, allocations: 104.2 kB / 1.047 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.8767, allocations: 5.922 kB / 1.047 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.8768, allocations: 9.188 kB / 1.047 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.8769, allocations: 20.09 kB / 1.047 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.8769, allocations: 7.781 kB / 1.047 GB, free: 53.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.877, allocations: 100.5 kB / 1.047 GB, free: 53.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.877, allocations: 3.938 kB / 1.047 GB, free: 53.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002684/0.8773, allocations: 57 kB / 1.047 GB, free: 53.07 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.0002243/0.8775, allocations: 161.5 kB / 1.048 GB, free: 52.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.8777, allocations: 104.5 kB / 1.048 GB, free: 52.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8778, allocations: 0 / 1.048 GB, free: 52.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.8779, allocations: 49.5 kB / 1.048 GB, free: 52.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.8781, allocations: 15.16 kB / 1.048 GB, free: 52.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.8785, allocations: 270.9 kB / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.8787, allocations: 0.7064 MB / 1.049 GB, free: 51.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.587e-05/0.8788, allocations: 12.84 kB / 1.049 GB, free: 51.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.8788, allocations: 18.86 kB / 1.049 GB, free: 51.97 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/0.8789, allocations: 7.656 kB / 1.049 GB, free: 51.97 MB / 0.698 GB Notification: Performance of Templates: time 0.004794/0.8837, allocations: 1.623 MB / 1.05 GB, free: 51.83 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (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=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)