Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.45/1.45, allocations: 252 MB / 267 MB, free: 10.97 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.001067/0.001067, allocations: 189.1 kB / 326.6 MB, free: 2.215 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.814/1.814, allocations: 205.4 MB / 0.5777 GB, free: 20.2 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.0008141/0.0008145, allocations: 88.42 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003002, allocations: 9.5 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2026, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001332/0.204, allocations: 1.215 MB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009463/0.2049, allocations: 0.7528 MB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.205, allocations: 0 / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.205, allocations: 3.938 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.532e-05/0.2051, allocations: 19.84 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.2055, allocations: 99.77 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.024e-05/0.2056, allocations: 67.78 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.363e-05/0.2057, allocations: 11.98 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.593e-05/0.2058, allocations: 43.84 kB / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.2058, allocations: 27.84 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2059, allocations: 7.938 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.206, allocations: 83.91 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.206, allocations: 19.91 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.2061, allocations: 37.7 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.2062, allocations: 103.8 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2062, allocations: 0 / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2062, allocations: 0 / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2062, allocations: 0 / 0.9027 GB, free: 61.28 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.0006084/0.2069, allocations: 458.8 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.2069, allocations: 11.97 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.207, allocations: 30.56 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.207, allocations: 11.86 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/0.2071, allocations: 183 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2071, allocations: 0 / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.2071, allocations: 7.984 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.2073, allocations: 77.59 kB / 0.9035 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.2073, allocations: 0 / 0.9035 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.2073, allocations: 4 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.2074, allocations: 0 / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.2075, allocations: 47.97 kB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.2079, allocations: 324.7 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.2081, allocations: 66.58 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.2081, allocations: 36.84 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2082, allocations: 0 / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.2083, allocations: 95.36 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.2084, allocations: 0 / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003418/0.2087, allocations: 169.4 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.2087, allocations: 63.34 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.2088, allocations: 124.5 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.2088, allocations: 29.7 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.2089, allocations: 92.38 kB / 0.9045 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.2089, allocations: 31.78 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.2089, allocations: 4 kB / 0.9045 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.902e-05/0.209, allocations: 318.8 kB / 0.9048 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.209, allocations: 23.98 kB / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-05/0.2091, allocations: 73.12 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.557e-05/0.2092, allocations: 31.98 kB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2092, allocations: 0 / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002036/0.2094, allocations: 133.4 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2094, allocations: 11.98 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2095, allocations: 0 / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2095, allocations: 4 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.2096, allocations: 23.88 kB / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2096, allocations: 0 / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2097, allocations: 15.91 kB / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.2097, allocations: 20.05 kB / 0.9051 GB, free: 58.55 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.227e-05/0.2098, allocations: 123.1 kB / 0.9053 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.2098, allocations: 7.906 kB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.2101, allocations: 146 kB / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2101, allocations: 0 / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2101, allocations: 3.953 kB / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2101, allocations: 8 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.2106, allocations: 430.4 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2106, allocations: 3.984 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.2107, allocations: 12 kB / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2107, allocations: 4 kB / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2107, allocations: 7.938 kB / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2107, allocations: 4 kB / 0.9059 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2107, allocations: 4 kB / 0.9059 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.211, allocations: 231.3 kB / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.211, allocations: 85 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.211, allocations: 8 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2112, allocations: 11.94 kB / 0.9062 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.2112, allocations: 15.98 kB / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.2112, allocations: 4.375 kB / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.2113, allocations: 91.27 kB / 0.9063 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2113, allocations: 0 / 0.9063 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002749/0.2115, allocations: 51.92 kB / 0.9063 GB, free: 57.21 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.0005623/0.2121, allocations: 0.8221 MB / 0.9071 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.2123, allocations: 87.89 kB / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2123, allocations: 0 / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.2124, allocations: 55.89 kB / 0.9073 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.2127, allocations: 15.95 kB / 0.9073 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008837/0.2136, allocations: 0.6635 MB / 0.9079 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.884e-05/0.2137, allocations: 0.6965 MB / 0.9086 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.53e-05/0.2138, allocations: 12.44 kB / 0.9086 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.2138, allocations: 27.42 kB / 0.9087 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2138, allocations: 0 / 0.9087 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.2266, allocations: 2.753 MB / 0.9113 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.2268, allocations: 240.1 kB / 0.9116 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.886, allocations: 0 / 0.9116 GB, free: 51.85 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)