Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009331/0.0009331, allocations: 190.7 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 66.89 kB / 0.6709 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1982, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002415/0.2006, allocations: 1.585 MB / 0.7843 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2018, allocations: 0.7956 MB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.2019, allocations: 0 / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.2019, allocations: 7.984 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.202, allocations: 11.88 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.2024, allocations: 103.8 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2025, allocations: 87.69 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.525e-05/0.2026, allocations: 12 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.292e-05/0.2027, allocations: 39.84 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.2028, allocations: 39.83 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.2028, allocations: 4 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.203, allocations: 87.91 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.203, allocations: 19.91 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.203, allocations: 43.73 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.2032, allocations: 135.9 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.2033, allocations: 4 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2033, allocations: 0 / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.257e-06/0.2033, allocations: 0 / 0.7857 GB, free: 10.89 MB / 0.6075 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.0007037/0.204, allocations: 486.5 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.204, allocations: 8.031 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.432e-05/0.2041, allocations: 30.75 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.2041, allocations: 12.84 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2042, allocations: 184.2 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-05/0.2043, allocations: 30.27 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2043, allocations: 12.31 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.2045, allocations: 85.52 kB / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2046, allocations: 0 / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.2046, allocations: 7.984 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2046, allocations: 0 / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.2048, allocations: 43.97 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.2053, allocations: 328.6 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.2056, allocations: 70.55 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.2057, allocations: 36.83 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2057, allocations: 3.984 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.206, allocations: 99.39 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.206, allocations: 0 / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004993/0.2065, allocations: 169.5 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.2065, allocations: 51.41 kB / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2066, allocations: 130.1 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.2067, allocations: 37.7 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.2067, allocations: 96.27 kB / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.2068, allocations: 23.89 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.2068, allocations: 33.7 kB / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.2069, allocations: 322.8 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.207, allocations: 31.98 kB / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.2072, allocations: 73.12 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.2074, allocations: 113 kB / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2074, allocations: 0 / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002971/0.2077, allocations: 133.3 kB / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2077, allocations: 8.375 kB / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2077, allocations: 0 / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2078, allocations: 11.94 kB / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2079, allocations: 16.11 kB / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2079, allocations: 15.92 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.208, allocations: 8 kB / 0.7883 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.208, allocations: 7.984 kB / 0.7883 GB, free: 7.934 MB / 0.6075 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.108e-05/0.2081, allocations: 128.6 kB / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.2082, allocations: 7.906 kB / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.2082, allocations: 12.72 kB / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2082, allocations: 0 / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2082, allocations: 4 kB / 0.7884 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2082, allocations: 3.984 kB / 0.7884 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.2088, allocations: 426.2 kB / 0.7888 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2088, allocations: 0 / 0.7888 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/0.2089, allocations: 15.92 kB / 0.7889 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2089, allocations: 0 / 0.7889 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2089, allocations: 8 kB / 0.7889 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.2089, allocations: 7.922 kB / 0.7889 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.209, allocations: 4 kB / 0.7889 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.2093, allocations: 219.3 kB / 0.7891 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.2094, allocations: 85.02 kB / 0.7892 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.2094, allocations: 4 kB / 0.7892 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.2095, allocations: 15.92 kB / 0.7892 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.2096, allocations: 15.97 kB / 0.7892 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.2096, allocations: 4.094 kB / 0.7892 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.2097, allocations: 98.5 kB / 0.7893 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2097, allocations: 0 / 0.7893 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002966/0.21, allocations: 43.98 kB / 0.7893 GB, free: 6.754 MB / 0.6075 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 (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.0007787/0.2108, allocations: 0.8133 MB / 0.7901 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002828/0.2111, allocations: 99.81 kB / 0.7902 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2111, allocations: 0 / 0.7902 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.2112, allocations: 47.97 kB / 0.7903 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.2115, allocations: 23.86 kB / 0.7903 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.2133, allocations: 1.646 MB / 0.7919 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2135, allocations: 0.6929 MB / 0.7926 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.728e-05/0.2136, allocations: 16.66 kB / 0.7926 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.2137, allocations: 23.42 kB / 0.7926 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2137, allocations: 0 / 0.7926 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.2257, allocations: 2.816 MB / 0.7954 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.2259, allocations: 249.9 kB / 0.7956 GB, free: 292 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/1.92, allocations: 4.438 kB / 0.7956 GB, free: 288 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)