Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 252 MB / 267.6 MB, free: 10.96 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.0009068/0.0009068, allocations: 184.6 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 0.5783 GB, free: 20.55 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.0009712/0.0009709, allocations: 87.94 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 8.938 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2555, allocations: 106.3 MB / 0.9008 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002068/0.2576, allocations: 1.219 MB / 0.902 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.259, allocations: 0.7528 MB / 0.9028 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.2591, allocations: 4 kB / 0.9028 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.2591, allocations: 3.938 kB / 0.9028 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.2592, allocations: 19.84 kB / 0.9028 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.2598, allocations: 103.8 kB / 0.9029 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.2599, allocations: 83.7 kB / 0.903 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.26, allocations: 8 kB / 0.903 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.2601, allocations: 47.83 kB / 0.903 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.2602, allocations: 35.84 kB / 0.903 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.2603, allocations: 4 kB / 0.903 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.2604, allocations: 83.91 kB / 0.9031 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.2605, allocations: 23.89 kB / 0.9032 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.2605, allocations: 45.62 kB / 0.9032 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.2607, allocations: 103.8 kB / 0.9033 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2608, allocations: 0 / 0.9033 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2608, allocations: 0 / 0.9033 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2608, allocations: 0 / 0.9033 GB, free: 61.76 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006954/0.2615, allocations: 492.4 kB / 0.9038 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2615, allocations: 8.031 kB / 0.9038 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.2616, allocations: 7.906 kB / 0.9038 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.2617, allocations: 187.7 kB / 0.904 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.2618, allocations: 4 kB / 0.904 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.2618, allocations: 8 kB / 0.904 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.262, allocations: 85.52 kB / 0.9041 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.262, allocations: 0 / 0.9041 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.262, allocations: 8 kB / 0.9041 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.262, allocations: 0 / 0.9041 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.2622, allocations: 47.97 kB / 0.9041 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.2627, allocations: 348.5 kB / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.2629, allocations: 82.67 kB / 0.9045 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.263, allocations: 44.84 kB / 0.9046 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2631, allocations: 0 / 0.9046 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.2633, allocations: 107.3 kB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/0.2633, allocations: 96 / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003998/0.2637, allocations: 193.4 kB / 0.9048 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.2638, allocations: 51.41 kB / 0.9049 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.2639, allocations: 135 kB / 0.905 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2639, allocations: 29.7 kB / 0.9051 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.264, allocations: 92.14 kB / 0.9051 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.264, allocations: 27.64 kB / 0.9052 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.264, allocations: 4 kB / 0.9052 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.2641, allocations: 318.8 kB / 0.9055 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.2641, allocations: 35.98 kB / 0.9055 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.2642, allocations: 75.45 kB / 0.9056 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.12e-05/0.2643, allocations: 40 kB / 0.9056 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2643, allocations: 0 / 0.9056 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002147/0.2646, allocations: 137.4 kB / 0.9057 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2646, allocations: 8 kB / 0.9058 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2646, allocations: 0 / 0.9058 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.2646, allocations: 4 kB / 0.9058 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2647, allocations: 19.94 kB / 0.9058 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2648, allocations: 8.031 kB / 0.9058 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/0.2649, allocations: 20.03 kB / 0.9058 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2649, allocations: 8 kB / 0.9058 GB, free: 58.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 9.297e-05/0.265, allocations: 124.5 kB / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.265, allocations: 7.906 kB / 0.9059 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.2653, allocations: 174.2 kB / 0.9061 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2653, allocations: 0 / 0.9061 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2653, allocations: 3.953 kB / 0.9061 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2653, allocations: 0 / 0.9061 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.2658, allocations: 469.2 kB / 0.9066 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2659, allocations: 0 / 0.9066 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.2659, allocations: 12 kB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2659, allocations: 3.938 kB / 0.9066 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.266, allocations: 7.938 kB / 0.9066 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.266, allocations: 4 kB / 0.9066 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.266, allocations: 0 / 0.9066 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.2662, allocations: 239.4 kB / 0.9068 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.2663, allocations: 85.02 kB / 0.9069 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.2663, allocations: 0 / 0.9069 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2665, allocations: 19.94 kB / 0.9069 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.2665, allocations: 15.92 kB / 0.9069 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.2665, allocations: 7.984 kB / 0.9069 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.2666, allocations: 99.27 kB / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2666, allocations: 4 kB / 0.907 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002799/0.2669, allocations: 43.94 kB / 0.9071 GB, free: 57.53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003162/0.2672, allocations: 159.8 kB / 0.9072 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.2674, allocations: 101.6 kB / 0.9073 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2674, allocations: 0 / 0.9073 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.2676, allocations: 59.91 kB / 0.9074 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.2678, allocations: 19.98 kB / 0.9074 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.2683, allocations: 277.1 kB / 0.9077 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.2684, allocations: 0.7005 MB / 0.9084 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.2684, allocations: 15.44 kB / 0.9084 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2684, allocations: 4 kB / 0.9084 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.0032/0.2717, allocations: 1.902 MB / 0.9102 GB, free: 54.25 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)