Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.543/1.543, allocations: 287.4 MB / 302.6 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008775/0.0008774, allocations: 171.5 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007225/0.0007225, allocations: 81.3 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 11.31 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1816, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001281/0.1829, allocations: 1.242 MB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009859/0.1839, allocations: 0.7541 MB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.184, allocations: 0 / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.1841, allocations: 7.922 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.33e-05/0.1841, allocations: 15.86 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.1846, allocations: 99.75 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.857e-05/0.1847, allocations: 87.7 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.967e-05/0.1848, allocations: 16 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.1849, allocations: 39.83 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.1849, allocations: 43.77 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.185, allocations: 7.984 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1851, allocations: 79.94 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.1852, allocations: 23.89 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.1852, allocations: 41.64 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1854, allocations: 112 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1854, allocations: 0 / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1854, allocations: 4 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1854, allocations: 0 / 0.9812 GB, free: 25.52 MB / 0.6198 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.0005852/0.186, allocations: 496.2 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.186, allocations: 8.031 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.1861, allocations: 42.73 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.1861, allocations: 12.84 kB / 0.9818 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.748e-05/0.1862, allocations: 182 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1862, allocations: 8.375 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.1862, allocations: 8.312 kB / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1864, allocations: 85.75 kB / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1864, allocations: 0 / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1864, allocations: 4 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1865, allocations: 4 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1866, allocations: 51.97 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.187, allocations: 340.6 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.1872, allocations: 86.66 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/0.1873, allocations: 40.84 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1873, allocations: 3.984 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.1875, allocations: 111.2 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.572e-06/0.1876, allocations: 0 / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003522/0.1879, allocations: 177.5 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.188, allocations: 59.41 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/0.188, allocations: 143.8 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1881, allocations: 29.7 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.1881, allocations: 96.12 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.1881, allocations: 27.61 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.1881, allocations: 8 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.158e-05/0.1882, allocations: 330.7 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.1882, allocations: 27.98 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.1883, allocations: 82.69 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1885, allocations: 109.1 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1885, allocations: 0 / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002041/0.1887, allocations: 141.4 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1887, allocations: 8 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1887, allocations: 0 / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1887, allocations: 4 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1888, allocations: 19.92 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1889, allocations: 0 / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.441e-05/0.189, allocations: 19.89 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.189, allocations: 12.09 kB / 0.9839 GB, free: 22.52 MB / 0.6198 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 6.262e-05/0.1891, allocations: 128.4 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.1891, allocations: 11.89 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.1894, allocations: 174.2 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1894, allocations: 4 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1894, allocations: 7.984 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1894, allocations: 144 / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.1899, allocations: 470.2 kB / 0.9846 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1899, allocations: 0 / 0.9846 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.1899, allocations: 15.98 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.19, allocations: 8 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.19, allocations: 0 / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.19, allocations: 3.938 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.19, allocations: 0 / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1902, allocations: 255.3 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.1903, allocations: 85.02 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1903, allocations: 7.984 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1904, allocations: 15.94 kB / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.1905, allocations: 11.97 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1905, allocations: 4 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.38e-05/0.1905, allocations: 103.3 kB / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.21e-07/0.1905, allocations: 0 / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002599/0.1908, allocations: 51.92 kB / 0.9852 GB, free: 21.09 MB / 0.6198 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 (14): * Single equations (assignments): 11 * 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.0005796/0.1914, allocations: 0.8517 MB / 0.986 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.1916, allocations: 99.89 kB / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1916, allocations: 0 / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.1917, allocations: 61.78 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.192, allocations: 20.55 kB / 0.9862 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.1929, allocations: 0.7484 MB / 0.9869 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.971e-05/0.193, allocations: 0.7041 MB / 0.9876 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.134e-05/0.1931, allocations: 12.83 kB / 0.9876 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.1931, allocations: 35.36 kB / 0.9877 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1931, allocations: 0 / 0.9877 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4003/0.5935, allocations: 3.059 MB / 0.9906 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.5937, allocations: 238.9 kB / 0.9909 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.126, allocations: 4 kB / 0.9909 GB, free: 15.34 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)