Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.153/1.153, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008839/0.000884, allocations: 174.1 kB / 325.8 MB, free: 2.707 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.406/1.406, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006788/0.0006788, allocations: 104.5 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003025, allocations: 13.34 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1814, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001572/0.183, allocations: 1.243 MB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1841, allocations: 0.8117 MB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.1842, allocations: 0 / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.1842, allocations: 3.938 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.97e-05/0.1843, allocations: 11.92 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.1848, allocations: 107.7 kB / 0.8983 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.81e-05/0.1849, allocations: 83.75 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.546e-05/0.185, allocations: 8 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.185, allocations: 39.8 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.1851, allocations: 35.88 kB / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1851, allocations: 7.938 kB / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1853, allocations: 91.84 kB / 0.8986 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.1853, allocations: 11.98 kB / 0.8986 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.1854, allocations: 31.8 kB / 0.8986 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1855, allocations: 131.7 kB / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1856, allocations: 4 kB / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.552e-06/0.1856, allocations: 4 kB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1856, allocations: 0 / 0.8988 GB, free: 65.46 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.0005639/0.1862, allocations: 450.7 kB / 0.8992 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1862, allocations: 15.97 kB / 0.8992 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.1862, allocations: 38.75 kB / 0.8992 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.1863, allocations: 8.844 kB / 0.8992 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.211e-05/0.1864, allocations: 182.6 kB / 0.8994 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1864, allocations: 8.312 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1864, allocations: 8.375 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1866, allocations: 69.78 kB / 0.8995 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1866, allocations: 3.984 kB / 0.8995 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1866, allocations: 11.98 kB / 0.8995 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1866, allocations: 3.938 kB / 0.8995 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1868, allocations: 43.97 kB / 0.8996 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.1872, allocations: 320.7 kB / 0.8999 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1873, allocations: 66.55 kB / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.737e-05/0.1874, allocations: 36.84 kB / 0.9 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1874, allocations: 4 kB / 0.9 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.1876, allocations: 95.55 kB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.786e-06/0.1876, allocations: 4 kB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003283/0.188, allocations: 161.5 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.188, allocations: 59.39 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.1881, allocations: 129.7 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1881, allocations: 29.7 kB / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.1881, allocations: 88.38 kB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.1882, allocations: 28.02 kB / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.1882, allocations: 21.72 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.116e-05/0.1883, allocations: 326.8 kB / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.1883, allocations: 23.98 kB / 0.9009 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.683e-05/0.1884, allocations: 77.06 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1886, allocations: 101 kB / 0.9011 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1886, allocations: 4 kB / 0.9011 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001932/0.1888, allocations: 133.4 kB / 0.9012 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1888, allocations: 4 kB / 0.9012 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1888, allocations: 4 kB / 0.9012 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1888, allocations: 0 / 0.9012 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1889, allocations: 23.98 kB / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1889, allocations: 4 kB / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.086e-05/0.189, allocations: 20.05 kB / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1891, allocations: 4 kB / 0.9013 GB, free: 62.62 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 (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 7.014e-05/0.1891, allocations: 129.8 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.1892, allocations: 7.906 kB / 0.9014 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.1894, allocations: 153.9 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1894, allocations: 4 kB / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1894, allocations: 0 / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1894, allocations: 0 / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.1899, allocations: 442.3 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1899, allocations: 0 / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.1899, allocations: 23.92 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.19, allocations: 0 / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.19, allocations: 4 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.19, allocations: 3.938 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.19, allocations: 4 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.1902, allocations: 227.4 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.1902, allocations: 81.02 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1903, allocations: 8 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1904, allocations: 15.92 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1904, allocations: 7.984 kB / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1904, allocations: 11.92 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.1905, allocations: 106.1 kB / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1905, allocations: 3.938 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003009/0.1908, allocations: 40 kB / 0.9025 GB, free: 61.27 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 (12): * Single equations (assignments): 9 * 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.0006267/0.1914, allocations: 0.8167 MB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1917, allocations: 91.83 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1917, allocations: 7.938 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.1918, allocations: 39.98 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.192, allocations: 26.58 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1933, allocations: 1.612 MB / 0.905 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.1934, allocations: 0.6926 MB / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.1935, allocations: 12.42 kB / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.1935, allocations: 26.06 kB / 0.9057 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1936, allocations: 0 / 0.9057 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.2048, allocations: 2.741 MB / 0.9084 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/0.2049, allocations: 274.3 kB / 0.9086 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.068, allocations: 0 / 0.9086 GB, free: 54.86 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)