Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0025/0.0025, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.187/3.187, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.954/2.954, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008524/0.0008528, allocations: 12.75 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.517, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003498/0.5206, allocations: 1.212 MB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.5231, allocations: 0.7455 MB / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.5233, allocations: 0 / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.5234, allocations: 11.92 kB / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.5236, allocations: 15.97 kB / 0.7892 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/0.5246, allocations: 95.64 kB / 0.7893 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.5248, allocations: 55.86 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.525, allocations: 11.98 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.5252, allocations: 31.92 kB / 0.7894 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.5254, allocations: 47.81 kB / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.5255, allocations: 0 / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.5258, allocations: 63.94 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.5259, allocations: 19.91 kB / 0.7895 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.526, allocations: 41.64 kB / 0.7895 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.5264, allocations: 104 kB / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5264, allocations: 3.938 kB / 0.7896 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.657e-06/0.5264, allocations: 0 / 0.7896 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.5264, allocations: 0 / 0.7896 GB, free: 9.406 MB / 0.6075 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.00174/0.5282, allocations: 466.4 kB / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.547e-05/0.5283, allocations: 8.031 kB / 0.7901 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.5284, allocations: 38.56 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.5285, allocations: 7.906 kB / 0.7901 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.5289, allocations: 182.9 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.529, allocations: 33.7 kB / 0.7903 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.5291, allocations: 11.98 kB / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.5295, allocations: 77.59 kB / 0.7904 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.5295, allocations: 3.984 kB / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.5295, allocations: 0 / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.5296, allocations: 0 / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.5298, allocations: 51.91 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.5311, allocations: 336.6 kB / 0.7908 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.5315, allocations: 66.55 kB / 0.7909 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.5316, allocations: 4 kB / 0.7909 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002291/0.5339, allocations: 107.5 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 4.128e-06/0.5339, allocations: 0 / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.001002/0.5349, allocations: 177.5 kB / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.5351, allocations: 55.36 kB / 0.7912 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.5354, allocations: 133.1 kB / 0.7913 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.688e-05/0.5355, allocations: 25.7 kB / 0.7913 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.5357, allocations: 92.38 kB / 0.7914 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.5358, allocations: 27.64 kB / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.5358, allocations: 0 / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004822/0.5363, allocations: 330.8 kB / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.5365, allocations: 27.98 kB / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.5368, allocations: 73.06 kB / 0.7919 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.537, allocations: 35.98 kB / 0.7919 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.537, allocations: 0 / 0.7919 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005531/0.5376, allocations: 149.5 kB / 0.792 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/0.5377, allocations: 4 kB / 0.792 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.5377, allocations: 3.938 kB / 0.792 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/0.5377, allocations: 4 kB / 0.792 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.538, allocations: 16.08 kB / 0.7921 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/0.538, allocations: 7.953 kB / 0.7921 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.5382, allocations: 15.89 kB / 0.7921 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.5383, allocations: 7.984 kB / 0.7921 GB, free: 6.617 MB / 0.6075 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 0.0002428/0.5385, allocations: 129.8 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.5386, allocations: 7.906 kB / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.719e-05/0.5387, allocations: 17.08 kB / 0.7922 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.5387, allocations: 4 kB / 0.7922 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.5387, allocations: 0 / 0.7922 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.5388, allocations: 3.953 kB / 0.7922 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.5418, allocations: 438.2 kB / 0.7927 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.5419, allocations: 0 / 0.7927 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.5423, allocations: 11.98 kB / 0.7927 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.152e-05/0.5424, allocations: 0 / 0.7927 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.5425, allocations: 15.94 kB / 0.7927 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.5426, allocations: 0 / 0.7927 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.937e-05/0.5426, allocations: 7.938 kB / 0.7927 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.544, allocations: 223.4 kB / 0.7929 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.5442, allocations: 85 kB / 0.793 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.5443, allocations: 4 kB / 0.793 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.5445, allocations: 23.88 kB / 0.793 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.5446, allocations: 11.98 kB / 0.793 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.5447, allocations: 4 kB / 0.793 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001695/0.5449, allocations: 103.2 kB / 0.7931 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.1e-07/0.5449, allocations: 0 / 0.7931 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006967/0.5456, allocations: 40 kB / 0.7932 GB, free: 5.406 MB / 0.6075 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.002465/0.5481, allocations: 0.8171 MB / 0.794 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007919/0.5489, allocations: 95.89 kB / 0.7941 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5489, allocations: 0 / 0.7941 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.5493, allocations: 47.91 kB / 0.7941 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.55, allocations: 22.53 kB / 0.7941 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.553, allocations: 1.217 MB / 0.7953 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/0.5538, allocations: 0.6965 MB / 0.796 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.554, allocations: 16.64 kB / 0.796 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.5541, allocations: 27.42 kB / 0.796 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of SimCode: time 1.824e-06/0.5541, allocations: 0 / 0.796 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08965/0.6438, allocations: 2.694 MB / 0.7987 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005823/0.6445, allocations: 237.1 kB / 0.7989 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.207/3.852, allocations: 4 kB / 0.7989 GB, free: 15.56 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) Environment - environmentSimulation: