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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001522/0.001522, allocations: 198 kB / 326.5 MB, free: 2.207 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.941/1.941, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009357/0.0009357, allocations: 95.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003353, allocations: 8.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2372, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001634/0.2389, allocations: 1.215 MB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2401, allocations: 0.7613 MB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.2401, allocations: 0 / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.2402, allocations: 0 / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.803e-05/0.2403, allocations: 23.89 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.2407, allocations: 95.75 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.768e-05/0.2408, allocations: 63.84 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2409, allocations: 16 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.241, allocations: 35.89 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.2411, allocations: 39.83 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.2411, allocations: 4 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.2413, allocations: 71.81 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.2413, allocations: 19.97 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.2414, allocations: 41.64 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.2415, allocations: 99.8 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2415, allocations: 0 / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2415, allocations: 0 / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2416, allocations: 4 kB / 0.9026 GB, free: 61.31 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.0006852/0.2422, allocations: 484.5 kB / 0.903 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2423, allocations: 8.031 kB / 0.903 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.2423, allocations: 38.55 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.2424, allocations: 11.86 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2425, allocations: 178.9 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.2425, allocations: 11.94 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.2425, allocations: 8 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.2427, allocations: 73.64 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.2427, allocations: 4 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2427, allocations: 0 / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2428, allocations: 3.984 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.2429, allocations: 55.91 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.2434, allocations: 344.6 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.2437, allocations: 90.7 kB / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.2437, allocations: 3.984 kB / 0.9038 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.244, allocations: 95.36 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.244, allocations: 0 / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0005784/0.2446, allocations: 185.8 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.2447, allocations: 63.34 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.2448, allocations: 136 kB / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2448, allocations: 25.7 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.2449, allocations: 96.12 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.2449, allocations: 27.8 kB / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.2449, allocations: 4 kB / 0.9044 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.245, allocations: 322.8 kB / 0.9047 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2452, allocations: 31.98 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.2453, allocations: 70.39 kB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.2454, allocations: 43.97 kB / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2455, allocations: 0 / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003349/0.2458, allocations: 133.4 kB / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2458, allocations: 8 kB / 0.905 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2458, allocations: 3.984 kB / 0.905 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2459, allocations: 4 kB / 0.905 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.246, allocations: 31.88 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.246, allocations: 4.094 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.2462, allocations: 15.91 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2462, allocations: 7.984 kB / 0.9051 GB, free: 58.48 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 0.0001119/0.2463, allocations: 131.8 kB / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.2463, allocations: 7.906 kB / 0.9052 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.2466, allocations: 166.3 kB / 0.9054 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2466, allocations: 0 / 0.9054 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2467, allocations: 3.953 kB / 0.9054 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2467, allocations: 0 / 0.9054 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.2471, allocations: 461.4 kB / 0.9058 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2472, allocations: 0 / 0.9058 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/0.2472, allocations: 15.98 kB / 0.9058 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2472, allocations: 0 / 0.9058 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.2473, allocations: 11.95 kB / 0.9058 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2473, allocations: 0 / 0.9058 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2473, allocations: 0 / 0.9058 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.2476, allocations: 243.3 kB / 0.9061 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.2476, allocations: 85.02 kB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.2476, allocations: 4 kB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.2478, allocations: 15.94 kB / 0.9062 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.2478, allocations: 15.92 kB / 0.9062 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.2478, allocations: 7.984 kB / 0.9062 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.2479, allocations: 105.6 kB / 0.9063 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2479, allocations: 4 kB / 0.9063 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002949/0.2482, allocations: 40 kB / 0.9063 GB, free: 57.09 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.0006561/0.2489, allocations: 0.8445 MB / 0.9072 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.2491, allocations: 91.89 kB / 0.9073 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2491, allocations: 4 kB / 0.9073 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.853e-05/0.2492, allocations: 51.92 kB / 0.9073 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.2494, allocations: 22.94 kB / 0.9073 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/0.2502, allocations: 1.244 MB / 0.9085 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.2504, allocations: 0.7004 MB / 0.9092 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.978e-05/0.2505, allocations: 8.438 kB / 0.9092 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.2505, allocations: 29.05 kB / 0.9093 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2505, allocations: 4 kB / 0.9093 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.2647, allocations: 2.925 MB / 0.9121 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.265, allocations: 252.7 kB / 0.9124 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.97, allocations: 0 / 0.9124 GB, free: 50.98 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)