Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001294, allocations: 176.8 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009008/0.0009012, allocations: 88.97 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 8.594 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2031, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0008981/0.204, allocations: 474.5 kB / 0.8972 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.2056, allocations: 1.582 MB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.2057, allocations: 0 / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.2057, allocations: 3.938 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.2059, allocations: 19.84 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2062, allocations: 127.7 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2063, allocations: 115.7 kB / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.2064, allocations: 23.86 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.437e-05/0.2065, allocations: 47.83 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.2066, allocations: 43.83 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.2066, allocations: 4 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.2067, allocations: 71.94 kB / 0.8992 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.2068, allocations: 19.92 kB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.2068, allocations: 35.8 kB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.207, allocations: 147.7 kB / 0.8994 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.207, allocations: 3.938 kB / 0.8994 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.207, allocations: 0 / 0.8994 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.207, allocations: 3.938 kB / 0.8994 GB, free: 65.44 MB / 0.6042 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.0005323/0.2075, allocations: 407.2 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2076, allocations: 12.03 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.2076, allocations: 8.844 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.2077, allocations: 180.2 kB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.2078, allocations: 34.27 kB / 0.9 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.2078, allocations: 12.38 kB / 0.9 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.208, allocations: 100.3 kB / 0.9001 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.208, allocations: 0 / 0.9001 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.208, allocations: 8 kB / 0.9001 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.208, allocations: 0 / 0.9001 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/0.2081, allocations: 51.95 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.2086, allocations: 0.5165 MB / 0.9007 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.209, allocations: 139.7 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.2091, allocations: 46.66 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.2091, allocations: 0 / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.2093, allocations: 109.9 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.2093, allocations: 4 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0002743/0.2096, allocations: 145.6 kB / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.2096, allocations: 106.8 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.2097, allocations: 133.7 kB / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2097, allocations: 29.7 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.2098, allocations: 88.48 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.2098, allocations: 35.55 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.2098, allocations: 21.72 kB / 0.9015 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.2099, allocations: 330.9 kB / 0.9018 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.21, allocations: 35.98 kB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.116e-05/0.21, allocations: 40.62 kB / 0.9019 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.2102, allocations: 75.38 kB / 0.9019 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2102, allocations: 0 / 0.9019 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001989/0.2104, allocations: 133.5 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2104, allocations: 4 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.2104, allocations: 3.984 kB / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2104, allocations: 4 kB / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2106, allocations: 19.98 kB / 0.9021 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.2106, allocations: 0 / 0.9021 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.2107, allocations: 15.92 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.2107, allocations: 7.938 kB / 0.9021 GB, free: 62.34 MB / 0.6042 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.014e-05/0.2108, allocations: 121.8 kB / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.2108, allocations: 7.906 kB / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.211, allocations: 125.8 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.211, allocations: 4 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.211, allocations: 0 / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.211, allocations: 3.984 kB / 0.9024 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.2111, allocations: 221.5 kB / 0.9026 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2112, allocations: 4 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.254e-05/0.2112, allocations: 12 kB / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2113, allocations: 8 kB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2113, allocations: 320 / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2113, allocations: 11.98 kB / 0.9026 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2113, allocations: 3.938 kB / 0.9026 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.2115, allocations: 175.5 kB / 0.9028 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.2115, allocations: 104.9 kB / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.2116, allocations: 12 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.2116, allocations: 4 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.2117, allocations: 19.92 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.2117, allocations: 7.984 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.83e-05/0.2118, allocations: 106.5 kB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2118, allocations: 0 / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002536/0.212, allocations: 47.94 kB / 0.9031 GB, free: 61.25 MB / 0.6042 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.0001745/0.2122, allocations: 163.1 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.2124, allocations: 101.7 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2124, allocations: 4 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.2125, allocations: 51.95 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.2127, allocations: 16 kB / 0.9034 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.2131, allocations: 284.7 kB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.2132, allocations: 0.6965 MB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.2133, allocations: 23.42 kB / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2133, allocations: 4 kB / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.003357/0.2166, allocations: 1.792 MB / 0.9061 GB, free: 58.06 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)