Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.769/1.769, allocations: 288.2 MB / 303.2 MB, free: 8.082 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.001317/0.001317, allocations: 181.9 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001619/0.001619, allocations: 97.5 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003969, allocations: 10.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2082, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001393/0.2096, allocations: 1.191 MB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009927/0.2106, allocations: 0.7501 MB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.2107, allocations: 4 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.2107, allocations: 3.938 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.2108, allocations: 15.97 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.2113, allocations: 99.62 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.828e-05/0.2114, allocations: 51.81 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/0.2114, allocations: 11.98 kB / 0.9815 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.2115, allocations: 35.91 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.2116, allocations: 39.83 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.2116, allocations: 4 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.2118, allocations: 67.92 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.2118, allocations: 11.92 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.2118, allocations: 37.7 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.212, allocations: 112 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.212, allocations: 0 / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.212, allocations: 0 / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.212, allocations: 0 / 0.9818 GB, free: 25.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005248/0.2125, allocations: 450.5 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.2126, allocations: 12.02 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.2126, allocations: 38.5 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.2126, allocations: 11.91 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.103e-05/0.2127, allocations: 174.9 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2127, allocations: 4 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2127, allocations: 12 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.2129, allocations: 73.64 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.2129, allocations: 0 / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2129, allocations: 4 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2129, allocations: 3.938 kB / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.2131, allocations: 39.97 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.2135, allocations: 324.7 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.2136, allocations: 66.58 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.2137, allocations: 0 / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.2138, allocations: 103.5 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.2139, allocations: 0 / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003171/0.2142, allocations: 161.4 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.2142, allocations: 63.36 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/0.2143, allocations: 135.9 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.2143, allocations: 33.7 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.2143, allocations: 88.38 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.2144, allocations: 19.7 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/0.2144, allocations: 8 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.2144, allocations: 318.8 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.2145, allocations: 27.92 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.2146, allocations: 73.08 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.262e-05/0.2147, allocations: 31.98 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2147, allocations: 0 / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001988/0.2149, allocations: 141.4 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.2149, allocations: 4 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2149, allocations: 0 / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2149, allocations: 4 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.215, allocations: 19.92 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.215, allocations: 0 / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.982e-05/0.2151, allocations: 28 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2152, allocations: 8 kB / 0.9842 GB, free: 22.48 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,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 6.114e-05/0.2152, allocations: 115 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.2152, allocations: 11.89 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.2155, allocations: 149.9 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2155, allocations: 8 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2155, allocations: 0 / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2155, allocations: 7.922 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.216, allocations: 438.2 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.216, allocations: 0 / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.144e-05/0.216, allocations: 15.98 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.216, allocations: 0 / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2161, allocations: 0 / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2161, allocations: 7.953 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2161, allocations: 3.984 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.2163, allocations: 235.3 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.2163, allocations: 85.02 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.2163, allocations: 4.375 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2165, allocations: 11.98 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.2165, allocations: 19.94 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.2165, allocations: 4 kB / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.2166, allocations: 100.6 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2166, allocations: 0 / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002751/0.2168, allocations: 47.98 kB / 0.9854 GB, free: 21.14 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 (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 (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.0005266/0.2174, allocations: 0.8221 MB / 0.9862 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.2176, allocations: 83.89 kB / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2176, allocations: 0 / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.2177, allocations: 47.98 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.2179, allocations: 25.97 kB / 0.9864 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.2185, allocations: 1.221 MB / 0.9876 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.055e-05/0.2186, allocations: 0.7043 MB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.2186, allocations: 8.609 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.2187, allocations: 27.42 kB / 0.9883 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2187, allocations: 0 / 0.9883 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.2302, allocations: 2.716 MB / 0.9909 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001247/0.2303, allocations: 248.1 kB / 0.9912 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/1.756, allocations: 0 / 0.9912 GB, free: 15.3 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)