Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",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.477/1.477, allocations: 287.4 MB / 302.6 MB, free: 8.094 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.0009186/0.0009186, allocations: 180.9 kB / 371.1 MB, free: 10.74 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.249/1.249, 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.0007743/0.0007744, allocations: 88.97 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 13.8 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1742, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001348/0.1755, allocations: 1.226 MB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1766, allocations: 0.7424 MB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.1767, allocations: 4 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.1767, allocations: 3.938 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.141e-05/0.1768, allocations: 15.86 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.1772, allocations: 103.8 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.504e-05/0.1773, allocations: 91.69 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.66e-05/0.1774, allocations: 8 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.1775, allocations: 39.84 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.1776, allocations: 39.83 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1776, allocations: 8 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1777, allocations: 79.91 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.1778, allocations: 23.91 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.1778, allocations: 41.64 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.178, allocations: 108 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.178, allocations: 3.938 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.103e-06/0.178, allocations: 0 / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.178, allocations: 0 / 0.9812 GB, free: 25.54 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005579/0.1785, allocations: 484.4 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1786, allocations: 12.03 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.1786, allocations: 38.73 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.1787, allocations: 12.75 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.652e-05/0.1788, allocations: 176.2 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1788, allocations: 384 / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1788, allocations: 12.38 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.179, allocations: 85.7 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.179, allocations: 0 / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.179, allocations: 3.984 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.179, allocations: 4 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1792, allocations: 55.97 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.1796, allocations: 336.7 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1798, allocations: 90.66 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.1799, allocations: 44.78 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1799, allocations: 0 / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.1801, allocations: 107.2 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.1801, allocations: 0 / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.000376/0.1805, allocations: 185.5 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.1805, allocations: 55.41 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.1806, allocations: 131.9 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1806, allocations: 25.7 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.1807, allocations: 100.1 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1807, allocations: 27.64 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.1807, allocations: 4 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.1808, allocations: 326.8 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.1808, allocations: 27.98 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.1809, allocations: 78.81 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.1811, allocations: 109 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1811, allocations: 0 / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002056/0.1813, allocations: 153.3 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1813, allocations: 7.938 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1813, allocations: 0 / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1813, allocations: 4 kB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.1814, allocations: 15.98 kB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1814, allocations: 7.938 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.994e-05/0.1815, allocations: 20.02 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1816, allocations: 8 kB / 0.9838 GB, free: 22.56 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,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 5.989e-05/0.1816, allocations: 125.8 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.1816, allocations: 11.91 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.1819, allocations: 170.3 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1819, allocations: 4 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1819, allocations: 0 / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1819, allocations: 3.984 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.1824, allocations: 455 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1824, allocations: 4 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.1825, allocations: 15.98 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1825, allocations: 4 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1825, allocations: 0 / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1825, allocations: 3.938 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1825, allocations: 0 / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1827, allocations: 244.3 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.1828, allocations: 89 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1828, allocations: 0 / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1829, allocations: 19.92 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.1829, allocations: 11.92 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.183, allocations: 7.938 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.183, allocations: 99.27 kB / 0.985 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.183, allocations: 0 / 0.985 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002503/0.1833, allocations: 51.98 kB / 0.9851 GB, free: 21.17 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 (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 (13): * Single equations (assignments): 10 * 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.0005286/0.1838, allocations: 0.8445 MB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.184, allocations: 100.3 kB / 0.986 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.184, allocations: 0 / 0.986 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.1841, allocations: 47.98 kB / 0.9861 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.1844, allocations: 24.11 kB / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008317/0.1852, allocations: 0.7133 MB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.852e-05/0.1853, allocations: 0.7004 MB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.693e-05/0.1854, allocations: 8.438 kB / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.1854, allocations: 27.42 kB / 0.9875 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1855, allocations: 0 / 0.9875 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2985/0.484, allocations: 2.927 MB / 0.9903 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.4842, allocations: 243.9 kB / 0.9906 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.068, allocations: 3.938 kB / 0.9906 GB, free: 15.58 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)