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.679/1.679, allocations: 252 MB / 267 MB, free: 10.97 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.001404/0.001404, allocations: 183.8 kB / 326.6 MB, free: 2.219 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.872/1.872, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.0007293/0.0007292, allocations: 89.86 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003569, allocations: 11.56 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1977, allocations: 106.3 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001624/0.1993, allocations: 1.223 MB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2005, allocations: 0.7567 MB / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.2006, allocations: 4 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.2006, allocations: 0 / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/0.2007, allocations: 11.86 kB / 0.9023 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.2013, allocations: 107.8 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2014, allocations: 83.7 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.2015, allocations: 15.98 kB / 0.9024 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2016, allocations: 35.84 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.2017, allocations: 39.83 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.2017, allocations: 4 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.2019, allocations: 95.78 kB / 0.9026 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.202, allocations: 11.98 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.202, allocations: 45.64 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2022, allocations: 107.8 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2022, allocations: 0 / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2022, allocations: 0 / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.2022, allocations: 0 / 0.9028 GB, free: 61.63 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.0006506/0.2029, allocations: 484.4 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2029, allocations: 12.03 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.203, allocations: 42.48 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.203, allocations: 11.86 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.482e-05/0.2031, allocations: 186.8 kB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2031, allocations: 8 kB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.2032, allocations: 4 kB / 0.9035 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.2034, allocations: 81.64 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2034, allocations: 0 / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2034, allocations: 0 / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2034, allocations: 4 kB / 0.9036 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.2036, allocations: 51.97 kB / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.2041, allocations: 340.6 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.2043, allocations: 82.67 kB / 0.904 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.2044, allocations: 40.84 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.2044, allocations: 0 / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.2046, allocations: 107.4 kB / 0.9042 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.2046, allocations: 0 / 0.9042 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003931/0.205, allocations: 185.4 kB / 0.9043 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.2051, allocations: 59.39 kB / 0.9044 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.2051, allocations: 135.4 kB / 0.9045 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2052, allocations: 29.7 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.2052, allocations: 92.14 kB / 0.9046 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.2052, allocations: 31.64 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.2053, allocations: 3.938 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.2053, allocations: 322.8 kB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.2054, allocations: 27.98 kB / 0.905 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.2055, allocations: 75.11 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.249e-05/0.2056, allocations: 35.98 kB / 0.9051 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2056, allocations: 3.938 kB / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002188/0.2058, allocations: 141.5 kB / 0.9053 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2058, allocations: 8 kB / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2058, allocations: 0 / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2058, allocations: 7.953 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.206, allocations: 19.92 kB / 0.9053 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.206, allocations: 4 kB / 0.9053 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-05/0.2061, allocations: 20.03 kB / 0.9053 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2061, allocations: 8.062 kB / 0.9053 GB, free: 58.75 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 8.234e-05/0.2062, allocations: 132.3 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.2062, allocations: 11.89 kB / 0.9055 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.2065, allocations: 165.1 kB / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2065, allocations: 0 / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2065, allocations: 3.953 kB / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2065, allocations: 11.94 kB / 0.9056 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.207, allocations: 454.3 kB / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.207, allocations: 0 / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.908e-05/0.2071, allocations: 8 kB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2071, allocations: 3.953 kB / 0.9061 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2071, allocations: 11.98 kB / 0.9061 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2072, allocations: 0 / 0.9061 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2072, allocations: 4 kB / 0.9061 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.2074, allocations: 247.3 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.2075, allocations: 81.02 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.2075, allocations: 11.95 kB / 0.9064 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2076, allocations: 15.98 kB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.2077, allocations: 7.984 kB / 0.9064 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.2077, allocations: 8 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.647e-05/0.2077, allocations: 103.2 kB / 0.9065 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2077, allocations: 0 / 0.9065 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002943/0.208, allocations: 44 kB / 0.9066 GB, free: 57.36 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.0006808/0.2087, allocations: 0.8349 MB / 0.9074 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.209, allocations: 105.8 kB / 0.9075 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.209, allocations: 0 / 0.9075 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.2091, allocations: 59.91 kB / 0.9076 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.2095, allocations: 19.94 kB / 0.9076 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.2106, allocations: 0.7163 MB / 0.9083 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.2108, allocations: 0.6926 MB / 0.909 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.788e-05/0.2109, allocations: 16.42 kB / 0.909 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.2109, allocations: 31.42 kB / 0.909 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2109, allocations: 0 / 0.909 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.2254, allocations: 2.936 MB / 0.9119 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.2257, allocations: 254.9 kB / 0.9121 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.891, allocations: 0 / 0.9121 GB, free: 51.69 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)