Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.902/1.902, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001443/0.001443, allocations: 190 kB / 326.5 MB, free: 2.195 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.864/1.864, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.000904/0.000904, allocations: 93.47 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 8.031 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1985, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001635/0.2002, allocations: 1.203 MB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.2012, allocations: 0.7653 MB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.2013, allocations: 0 / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.2013, allocations: 7.875 kB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.947e-05/0.2014, allocations: 15.95 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.2018, allocations: 87.77 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.2019, allocations: 59.86 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.202, allocations: 15.98 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.293e-05/0.2021, allocations: 31.86 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.2021, allocations: 35.89 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2022, allocations: 4 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.2023, allocations: 75.8 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.2023, allocations: 11.98 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.2024, allocations: 41.64 kB / 0.9024 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2025, allocations: 95.81 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2025, allocations: 4 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2025, allocations: 4 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.2025, allocations: 0 / 0.9025 GB, free: 61.7 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005909/0.2031, allocations: 462.7 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2032, allocations: 8.031 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.2032, allocations: 38.56 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.2032, allocations: 19.8 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/0.2033, allocations: 174.9 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/0.2034, allocations: 37.7 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.2034, allocations: 4 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.2036, allocations: 73.64 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.2036, allocations: 0 / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2036, allocations: 0 / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2037, allocations: 7.984 kB / 0.9033 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.2038, allocations: 59.89 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.2043, allocations: 320.6 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.2045, allocations: 78.53 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.2045, allocations: 0 / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.2047, allocations: 103.5 kB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.2047, allocations: 3.938 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004171/0.2051, allocations: 177.4 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2052, allocations: 59.41 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.781e-05/0.2053, allocations: 135.3 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2053, allocations: 25.7 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.2053, allocations: 100.4 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.2053, allocations: 19.72 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.2053, allocations: 0 / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.946e-05/0.2054, allocations: 322.8 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.2055, allocations: 31.97 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.2056, allocations: 81.06 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.2057, allocations: 31.98 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2058, allocations: 0 / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002634/0.206, allocations: 137.4 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2061, allocations: 8 kB / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2061, allocations: 0 / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2061, allocations: 7.953 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2062, allocations: 23.92 kB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2062, allocations: 3.984 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2063, allocations: 20.06 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.2064, allocations: 7.984 kB / 0.905 GB, free: 58.91 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.437e-05/0.2064, allocations: 121.8 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.2065, allocations: 7.906 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.2065, allocations: 12.66 kB / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2065, allocations: 0 / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2065, allocations: 7.953 kB / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2065, allocations: 7.984 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.207, allocations: 430.6 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2071, allocations: 0 / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.2071, allocations: 15.98 kB / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2072, allocations: 3.953 kB / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.2072, allocations: 4.094 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2072, allocations: 7.938 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2072, allocations: 7.984 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.2075, allocations: 223.3 kB / 0.9058 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.2075, allocations: 92.95 kB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.2075, allocations: 3.953 kB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.2077, allocations: 15.98 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.2077, allocations: 16.06 kB / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.2078, allocations: 7.984 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.2078, allocations: 97.09 kB / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2078, allocations: 0 / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003128/0.2081, allocations: 51.98 kB / 0.9061 GB, free: 57.7 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0006178/0.2087, allocations: 0.8157 MB / 0.9069 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.209, allocations: 91.81 kB / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.209, allocations: 0 / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.2092, allocations: 60.16 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.2094, allocations: 17.25 kB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/0.2101, allocations: 1.225 MB / 0.9083 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.2102, allocations: 0.7004 MB / 0.9089 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.969e-05/0.2103, allocations: 8.672 kB / 0.9089 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.2104, allocations: 23.42 kB / 0.909 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2104, allocations: 0 / 0.909 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.2231, allocations: 2.712 MB / 0.9116 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/0.2234, allocations: 235.2 kB / 0.9118 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/1.863, allocations: 64 / 0.9118 GB, free: 51.87 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)