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.457/1.457, allocations: 252 MB / 267 MB, free: 10.96 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.001321/0.00132, allocations: 174.5 kB / 326.6 MB, free: 2.227 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.772/1.772, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0007203/0.0007202, allocations: 89.81 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003331, allocations: 15.38 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.212, allocations: 106.3 MB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001578/0.2136, allocations: 1.211 MB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2148, allocations: 0.7489 MB / 0.9022 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.2149, allocations: 7.938 kB / 0.9022 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.215, allocations: 3.984 kB / 0.9022 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.2151, allocations: 11.86 kB / 0.9022 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.2156, allocations: 95.77 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2157, allocations: 75.77 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.2158, allocations: 8 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.2159, allocations: 43.83 kB / 0.9025 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.76e-05/0.216, allocations: 35.84 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.216, allocations: 4 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.2162, allocations: 79.91 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.2163, allocations: 15.92 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.2163, allocations: 33.64 kB / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.2165, allocations: 103.8 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2165, allocations: 4 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2165, allocations: 0 / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2165, allocations: 0 / 0.9027 GB, free: 61.72 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.0006295/0.2172, allocations: 454.8 kB / 0.9032 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2172, allocations: 15.97 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.2172, allocations: 34.55 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.2173, allocations: 19.8 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.2174, allocations: 171 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2174, allocations: 8 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2174, allocations: 4 kB / 0.9034 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.2176, allocations: 77.58 kB / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2176, allocations: 0 / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2176, allocations: 0 / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2177, allocations: 4 kB / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.2178, allocations: 47.97 kB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.2183, allocations: 328.6 kB / 0.9038 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2184, allocations: 66.56 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.2185, allocations: 32.84 kB / 0.9039 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.2185, allocations: 3.984 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.2187, allocations: 95.39 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.2187, allocations: 0 / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003574/0.2191, allocations: 169.4 kB / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2191, allocations: 51.41 kB / 0.9042 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.2192, allocations: 129.8 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2192, allocations: 29.7 kB / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.2193, allocations: 92.36 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.2193, allocations: 23.8 kB / 0.9045 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.2193, allocations: 12 kB / 0.9045 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.2194, allocations: 319.2 kB / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.2194, allocations: 23.98 kB / 0.9048 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.78e-05/0.2195, allocations: 73.12 kB / 0.9049 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.802e-05/0.2196, allocations: 31.98 kB / 0.9049 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2196, allocations: 7.938 kB / 0.9049 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002084/0.2198, allocations: 129.4 kB / 0.9051 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2199, allocations: 8.125 kB / 0.9051 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2199, allocations: 7.938 kB / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2199, allocations: 0 / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.22, allocations: 19.94 kB / 0.9051 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.22, allocations: 4 kB / 0.9051 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.2201, allocations: 15.89 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.2202, allocations: 7.938 kB / 0.9051 GB, free: 59 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.806e-05/0.2203, allocations: 137.7 kB / 0.9053 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.2203, allocations: 7.906 kB / 0.9053 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.2206, allocations: 142 kB / 0.9054 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2206, allocations: 4 kB / 0.9054 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2206, allocations: 3.953 kB / 0.9054 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2206, allocations: 96 / 0.9054 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.221, allocations: 438.3 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2211, allocations: 0 / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.2211, allocations: 11.98 kB / 0.9058 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2211, allocations: 0 / 0.9058 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.2212, allocations: 7.953 kB / 0.9058 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.2212, allocations: 3.938 kB / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2212, allocations: 4 kB / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.2214, allocations: 235.5 kB / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.2214, allocations: 85.02 kB / 0.9062 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2215, allocations: 4 kB / 0.9062 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2216, allocations: 19.94 kB / 0.9062 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.2216, allocations: 11.98 kB / 0.9062 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.2217, allocations: 7.984 kB / 0.9062 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.761e-05/0.2217, allocations: 97.39 kB / 0.9063 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2217, allocations: 0 / 0.9063 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002806/0.222, allocations: 40 kB / 0.9063 GB, free: 57.66 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 (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.0006333/0.2226, allocations: 0.8257 MB / 0.9071 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.2229, allocations: 91.89 kB / 0.9072 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2229, allocations: 0 / 0.9072 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.414e-05/0.223, allocations: 47.92 kB / 0.9073 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.2233, allocations: 19.94 kB / 0.9073 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.2243, allocations: 0.67 MB / 0.9079 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.2244, allocations: 0.6926 MB / 0.9086 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.935e-05/0.2244, allocations: 12.42 kB / 0.9086 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.2245, allocations: 31.42 kB / 0.9087 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2245, allocations: 0 / 0.9087 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01221/0.2367, allocations: 2.741 MB / 0.9113 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.2369, allocations: 244.1 kB / 0.9116 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/1.925, allocations: 1.547 kB / 0.9116 GB, free: 52.29 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)