Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.454/1.454, 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.001089/0.001089, allocations: 178.2 kB / 326.6 MB, free: 2.211 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.999/1.999, allocations: 205.4 MB / 0.5777 GB, free: 20.58 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.0008094/0.0008095, allocations: 88.03 kB / 0.6822 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 10.09 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2053, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001529/0.2069, allocations: 1.215 MB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.208, allocations: 0.7606 MB / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.208, allocations: 0 / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.208, allocations: 3.938 kB / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.71e-05/0.2081, allocations: 7.938 kB / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.2085, allocations: 99.75 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.517e-05/0.2086, allocations: 87.7 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.628e-05/0.2087, allocations: 4 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.581e-05/0.2088, allocations: 43.84 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.2088, allocations: 35.83 kB / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.2089, allocations: 4 kB / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.209, allocations: 79.91 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.209, allocations: 15.92 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.2091, allocations: 45.64 kB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.2092, allocations: 103.8 kB / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2092, allocations: 0 / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2092, allocations: 0 / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2092, allocations: 3.938 kB / 0.9027 GB, free: 61.67 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.0006919/0.2099, allocations: 458.8 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.21, allocations: 16.03 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.21, allocations: 42.48 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.2101, allocations: 11.86 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.748e-05/0.2102, allocations: 176.4 kB / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.751e-05/0.2102, allocations: 37.69 kB / 0.9035 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.2103, allocations: 4 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.2105, allocations: 81.58 kB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2105, allocations: 0 / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2105, allocations: 4 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2105, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.2107, allocations: 55.95 kB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.2112, allocations: 328.6 kB / 0.9039 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.2114, allocations: 74.53 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2115, allocations: 36.84 kB / 0.904 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.2115, allocations: 4 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.2117, allocations: 103.4 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.2117, allocations: 0 / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004314/0.2122, allocations: 177.4 kB / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.2122, allocations: 51.41 kB / 0.9043 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.2123, allocations: 136 kB / 0.9045 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2123, allocations: 38.06 kB / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.2123, allocations: 84.38 kB / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.2124, allocations: 23.86 kB / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.2124, allocations: 4 kB / 0.9046 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.2124, allocations: 326.8 kB / 0.9049 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.2125, allocations: 39.97 kB / 0.905 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.2127, allocations: 65.12 kB / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.2128, allocations: 43.97 kB / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2128, allocations: 4 kB / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002625/0.2131, allocations: 133.4 kB / 0.9052 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2131, allocations: 4 kB / 0.9052 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2131, allocations: 16.06 kB / 0.9052 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2131, allocations: 3.953 kB / 0.9052 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2132, allocations: 15.98 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2132, allocations: 7.984 kB / 0.9052 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2134, allocations: 19.92 kB / 0.9053 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2134, allocations: 4 kB / 0.9053 GB, free: 58.83 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 6.853e-05/0.2134, allocations: 132.1 kB / 0.9054 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.2135, allocations: 7.906 kB / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.2135, allocations: 16.72 kB / 0.9054 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2135, allocations: 3.953 kB / 0.9054 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2135, allocations: 0 / 0.9054 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.2135, allocations: 3.984 kB / 0.9054 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.2141, allocations: 426.3 kB / 0.9058 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2141, allocations: 4 kB / 0.9058 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.271e-05/0.2141, allocations: 7.984 kB / 0.9058 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2142, allocations: 7.953 kB / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2142, allocations: 0 / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2142, allocations: 3.984 kB / 0.9058 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2142, allocations: 3.938 kB / 0.9059 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.2145, allocations: 227.4 kB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.2145, allocations: 88.95 kB / 0.9062 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.2145, allocations: 4.141 kB / 0.9062 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.2147, allocations: 23.92 kB / 0.9062 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.2147, allocations: 15.91 kB / 0.9062 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.2147, allocations: 4 kB / 0.9062 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.2148, allocations: 99.27 kB / 0.9063 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2148, allocations: 0 / 0.9063 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002755/0.2151, allocations: 43.98 kB / 0.9063 GB, free: 57.63 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 (10): * Single equations (assignments): 7 * 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.0006303/0.2157, allocations: 0.8192 MB / 0.9071 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.216, allocations: 95.88 kB / 0.9072 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.216, allocations: 0 / 0.9072 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.2161, allocations: 51.94 kB / 0.9073 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.2164, allocations: 19.94 kB / 0.9073 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.2175, allocations: 0.6913 MB / 0.908 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.827e-05/0.2176, allocations: 0.6965 MB / 0.9087 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.585e-05/0.2176, allocations: 12.61 kB / 0.9087 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.2177, allocations: 27.42 kB / 0.9087 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2177, allocations: 0 / 0.9087 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.2299, allocations: 2.742 MB / 0.9114 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.2301, allocations: 246.7 kB / 0.9116 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/1.963, allocations: 2.031 kB / 0.9116 GB, free: 52.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)