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.798/1.798, allocations: 252 MB / 267.3 MB, free: 10.86 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.001591/0.001591, allocations: 173.2 kB / 327 MB, free: 2.117 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.784/2.784, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.00118/0.001181, allocations: 92.17 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005895/0.0005896, allocations: 11.36 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3785, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002382/0.381, allocations: 1.25 MB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.3829, allocations: 0.7836 MB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.383, allocations: 0 / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.3831, allocations: 7.922 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.3832, allocations: 11.88 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.3839, allocations: 111.8 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.384, allocations: 91.75 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3842, allocations: 15.98 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3843, allocations: 39.84 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3845, allocations: 43.75 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.3845, allocations: 4 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.3848, allocations: 91.92 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.3848, allocations: 19.91 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.3849, allocations: 65.48 kB / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.3852, allocations: 151.6 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3852, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3853, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5e-06/0.3853, allocations: 7.938 kB / 0.9035 GB, free: 60.73 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.0008786/0.3862, allocations: 488.6 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3862, allocations: 8.031 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.02e-05/0.3863, allocations: 38.75 kB / 0.904 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.3864, allocations: 8.844 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3865, allocations: 176.2 kB / 0.9042 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.3865, allocations: 4.375 kB / 0.9042 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.3866, allocations: 8.375 kB / 0.9042 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.3869, allocations: 85.7 kB / 0.9043 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3869, allocations: 4 kB / 0.9043 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3869, allocations: 0 / 0.9043 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3869, allocations: 4 kB / 0.9043 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.3872, allocations: 51.97 kB / 0.9044 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000783/0.388, allocations: 348.5 kB / 0.9047 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.3884, allocations: 82.67 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3885, allocations: 40.84 kB / 0.9048 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3886, allocations: 4 kB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003241/0.3889, allocations: 103.3 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.415e-06/0.3889, allocations: 0 / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0006644/0.3896, allocations: 185.5 kB / 0.9051 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.3897, allocations: 55.41 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3898, allocations: 136.1 kB / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3898, allocations: 25.7 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.3899, allocations: 96.05 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.3899, allocations: 31.62 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.39, allocations: 4 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.3901, allocations: 326.8 kB / 0.9057 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.3902, allocations: 27.98 kB / 0.9058 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3903, allocations: 77.12 kB / 0.9058 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.3906, allocations: 109 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3906, allocations: 0 / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004155/0.3911, allocations: 141.4 kB / 0.9061 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3911, allocations: 9.25 kB / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3911, allocations: 0 / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.3911, allocations: 4 kB / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.3913, allocations: 24.08 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3914, allocations: 11.88 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.3915, allocations: 15.89 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.3916, allocations: 4 kB / 0.9062 GB, free: 57.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.3917, allocations: 137.6 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.3917, allocations: 7.906 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.3923, allocations: 166.3 kB / 0.9064 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3923, allocations: 4 kB / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3923, allocations: 0 / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3923, allocations: 0 / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008275/0.3931, allocations: 461.4 kB / 0.9069 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3932, allocations: 4 kB / 0.9069 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3933, allocations: 16 kB / 0.9069 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3933, allocations: 0 / 0.9069 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3933, allocations: 3.984 kB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3933, allocations: 3.938 kB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3934, allocations: 0 / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.3938, allocations: 243.4 kB / 0.9072 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.3939, allocations: 85.02 kB / 0.9072 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.3939, allocations: 0 / 0.9072 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.3941, allocations: 19.92 kB / 0.9073 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.3942, allocations: 19.92 kB / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.3943, allocations: 7.984 kB / 0.9073 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.3943, allocations: 108.8 kB / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3944, allocations: 0 / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000559/0.3949, allocations: 36 kB / 0.9074 GB, free: 56.37 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 (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.001097/0.396, allocations: 0.8421 MB / 0.9082 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.3964, allocations: 99.83 kB / 0.9083 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3964, allocations: 0 / 0.9083 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.3966, allocations: 65.47 kB / 0.9084 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.3972, allocations: 19.92 kB / 0.9084 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.3996, allocations: 1.674 MB / 0.91 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.3998, allocations: 0.7004 MB / 0.9107 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.092e-05/0.3999, allocations: 16.42 kB / 0.9107 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.4, allocations: 23.44 kB / 0.9108 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of SimCode: time 8.02e-07/0.4, allocations: 0 / 0.9108 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.4212, allocations: 2.956 MB / 0.9137 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/0.4215, allocations: 267.4 kB / 0.9139 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/2.824, allocations: 0 / 0.9139 GB, free: 49.64 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)