Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.466/1.466, allocations: 287.4 MB / 302.5 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 178.2 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007488/0.0007489, allocations: 89.28 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 18.41 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1746, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001273/0.1759, allocations: 1.222 MB / 0.9799 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009589/0.1769, allocations: 0.7424 MB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.1769, allocations: 0 / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.1769, allocations: 7.922 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.532e-05/0.177, allocations: 15.86 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1774, allocations: 103.8 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.205e-05/0.1775, allocations: 75.78 kB / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.211e-05/0.1776, allocations: 7.984 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.558e-05/0.1776, allocations: 39.84 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.1777, allocations: 35.83 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1777, allocations: 4 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1779, allocations: 83.86 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1779, allocations: 19.97 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.1779, allocations: 41.64 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1781, allocations: 112 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1781, allocations: 0 / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1781, allocations: 3.938 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.1781, allocations: 0 / 0.9812 GB, free: 25.57 MB / 0.6198 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.0005039/0.1786, allocations: 464.5 kB / 0.9816 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1786, allocations: 12.03 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.1787, allocations: 30.75 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.1787, allocations: 8.844 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.008e-05/0.1788, allocations: 192.1 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.585e-05/0.1788, allocations: 30.27 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1789, allocations: 8.359 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.179, allocations: 81.59 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.179, allocations: 0 / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1791, allocations: 7.984 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1791, allocations: 0 / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1792, allocations: 55.91 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.1796, allocations: 328.8 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1798, allocations: 66.55 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.956e-05/0.1799, allocations: 40.83 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1799, allocations: 16.02 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.1801, allocations: 91.36 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1801, allocations: 0 / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003808/0.1805, allocations: 177.7 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.1805, allocations: 51.41 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.1806, allocations: 135.6 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1806, allocations: 33.8 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.1807, allocations: 96.3 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1807, allocations: 27.8 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.1807, allocations: 0 / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.1808, allocations: 330.8 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.1809, allocations: 35.97 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.906e-05/0.181, allocations: 79 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.1811, allocations: 109.1 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1812, allocations: 0 / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002514/0.1814, allocations: 141.4 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1814, allocations: 4 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1814, allocations: 4 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1815, allocations: 0 / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.1816, allocations: 23.91 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1816, allocations: 4 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.872e-05/0.1817, allocations: 20.11 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1817, allocations: 8 kB / 0.9838 GB, free: 22.64 MB / 0.6198 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 5.682e-05/0.1818, allocations: 121.8 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.1818, allocations: 11.81 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.1818, allocations: 12.72 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1818, allocations: 0 / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1818, allocations: 7.984 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1818, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.1823, allocations: 434.2 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1823, allocations: 0 / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.1824, allocations: 19.98 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1824, allocations: 0 / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1824, allocations: 3.984 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1824, allocations: 3.938 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1824, allocations: 0 / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1827, allocations: 235.4 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.1827, allocations: 85.02 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1827, allocations: 3.984 kB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1829, allocations: 15.92 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1829, allocations: 11.98 kB / 0.9847 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1829, allocations: 4 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.183, allocations: 100.8 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.183, allocations: 4 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002547/0.1832, allocations: 43.98 kB / 0.9848 GB, free: 21.45 MB / 0.6198 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.0005865/0.1838, allocations: 0.8193 MB / 0.9856 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1841, allocations: 96.02 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1841, allocations: 3.938 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1842, allocations: 52.16 kB / 0.9858 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1845, allocations: 26.67 kB / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009398/0.1854, allocations: 0.693 MB / 0.9865 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.238e-05/0.1855, allocations: 0.6926 MB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.457e-05/0.1856, allocations: 12.67 kB / 0.9872 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.1856, allocations: 23.42 kB / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.1856, allocations: 0 / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2936/0.4792, allocations: 2.719 MB / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.4795, allocations: 236.1 kB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.08, allocations: 0 / 0.9901 GB, free: 16.12 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)