Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.537/1.537, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001169/0.00117, allocations: 186.7 kB / 326.5 MB, free: 2.207 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.855/1.855, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001235/0.001235, allocations: 86.36 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 9.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1982, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001503/0.1998, allocations: 1.238 MB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.201, allocations: 0.7692 MB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.633e-05/0.2011, allocations: 0 / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.2011, allocations: 3.938 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.2013, allocations: 27.89 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.2017, allocations: 87.77 kB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.013e-05/0.2018, allocations: 71.77 kB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.2019, allocations: 16 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.633e-05/0.202, allocations: 39.83 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.2021, allocations: 35.84 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.2021, allocations: 4 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.2023, allocations: 67.92 kB / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.2023, allocations: 19.92 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.2023, allocations: 45.62 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.2025, allocations: 99.8 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2025, allocations: 4 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2025, allocations: 4 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2025, allocations: 0 / 0.9026 GB, free: 61.26 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006813/0.2032, allocations: 0.4886 MB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2033, allocations: 12.03 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.2033, allocations: 34.56 kB / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.2034, allocations: 15.77 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.2035, allocations: 186.9 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2035, allocations: 8 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.2035, allocations: 4 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.2037, allocations: 77.64 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2037, allocations: 0 / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.2038, allocations: 4 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2038, allocations: 7.938 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.2039, allocations: 59.89 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.2044, allocations: 328.7 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.2045, allocations: 86.66 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.2046, allocations: 96 / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.2048, allocations: 103.2 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.2048, allocations: 0 / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003715/0.2052, allocations: 193.2 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2052, allocations: 59.41 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.2053, allocations: 136.2 kB / 0.9043 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2053, allocations: 33.7 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.2054, allocations: 96.27 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.2054, allocations: 31.59 kB / 0.9045 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.2054, allocations: 4 kB / 0.9045 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.2055, allocations: 318.8 kB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.2056, allocations: 39.97 kB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.2057, allocations: 61.14 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.128e-05/0.2058, allocations: 39.98 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2058, allocations: 0 / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002193/0.206, allocations: 149.3 kB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.206, allocations: 4 kB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.206, allocations: 0 / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.206, allocations: 4 kB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.2062, allocations: 24.02 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2062, allocations: 7.984 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-05/0.2063, allocations: 19.88 kB / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2063, allocations: 8 kB / 0.9051 GB, free: 58.4 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,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 8.613e-05/0.2064, allocations: 132.8 kB / 0.9053 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.2064, allocations: 11.86 kB / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.2067, allocations: 174.2 kB / 0.9055 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2067, allocations: 0 / 0.9055 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2067, allocations: 0 / 0.9055 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2068, allocations: 0 / 0.9055 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.2072, allocations: 474.5 kB / 0.9059 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2072, allocations: 0 / 0.9059 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.2073, allocations: 15.98 kB / 0.9059 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2073, allocations: 3.984 kB / 0.9059 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2073, allocations: 4 kB / 0.9059 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2073, allocations: 0 / 0.9059 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2074, allocations: 4 kB / 0.9059 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.2076, allocations: 261.6 kB / 0.9062 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.2077, allocations: 92.91 kB / 0.9063 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.2077, allocations: 0 / 0.9063 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.2078, allocations: 15.98 kB / 0.9063 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.2079, allocations: 11.98 kB / 0.9063 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.2079, allocations: 4 kB / 0.9063 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.2079, allocations: 109.5 kB / 0.9064 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2079, allocations: 4 kB / 0.9064 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002879/0.2082, allocations: 44 kB / 0.9065 GB, free: 56.96 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 (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.0005804/0.2088, allocations: 0.8443 MB / 0.9073 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.209, allocations: 99.88 kB / 0.9074 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.209, allocations: 3.938 kB / 0.9074 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.956e-05/0.2091, allocations: 60.11 kB / 0.9074 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.2094, allocations: 19.92 kB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.2101, allocations: 1.254 MB / 0.9087 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.991e-05/0.2102, allocations: 0.7082 MB / 0.9094 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.2102, allocations: 8.562 kB / 0.9094 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.2103, allocations: 35.42 kB / 0.9094 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2103, allocations: 0 / 0.9094 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.2229, allocations: 3.056 MB / 0.9124 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/0.223, allocations: 249.7 kB / 0.9126 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.831, allocations: 4 kB / 0.9126 GB, free: 50.65 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)