Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.445/1.445, allocations: 288.4 MB / 303.6 MB, free: 8.145 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.0008469/0.0008472, allocations: 173 kB / 372.3 MB, free: 10.15 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.111/1.111, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0006998/0.0006998, allocations: 99.8 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 18.59 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001125/0.139, allocations: 1.226 MB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008547/0.1399, allocations: 0.7383 MB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.14, allocations: 0 / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.14, allocations: 7.922 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/0.1401, allocations: 11.88 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.1404, allocations: 103.8 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.1405, allocations: 87.7 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.155e-05/0.1406, allocations: 11.98 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.1407, allocations: 39.84 kB / 0.9824 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.1407, allocations: 43.81 kB / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1408, allocations: 4 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1409, allocations: 87.91 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.1409, allocations: 15.92 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.141, allocations: 57.56 kB / 0.9826 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.1411, allocations: 119.9 kB / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1411, allocations: 0 / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1411, allocations: 0 / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.1411, allocations: 4 kB / 0.9827 GB, free: 24.7 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.0005058/0.1417, allocations: 488.3 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1417, allocations: 8.031 kB / 0.9831 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.1417, allocations: 38.75 kB / 0.9832 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.1418, allocations: 12.75 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.37e-05/0.1418, allocations: 180.2 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1419, allocations: 4.375 kB / 0.9834 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.1419, allocations: 8.375 kB / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.142, allocations: 101.6 kB / 0.9835 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.1421, allocations: 0 / 0.9835 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1421, allocations: 0 / 0.9835 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.1421, allocations: 0 / 0.9835 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1422, allocations: 55.97 kB / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.1426, allocations: 332.8 kB / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1428, allocations: 86.7 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.408e-05/0.1429, allocations: 40.84 kB / 0.984 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1429, allocations: 0 / 0.984 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.1431, allocations: 115.2 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1431, allocations: 0 / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003351/0.1434, allocations: 173.5 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.1435, allocations: 59.41 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.965e-05/0.1435, allocations: 135.8 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.1436, allocations: 25.7 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.1436, allocations: 96.12 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.1436, allocations: 27.64 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.1436, allocations: 4 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.1437, allocations: 326.8 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.1437, allocations: 27.98 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.1438, allocations: 73.83 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.144, allocations: 117 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.144, allocations: 0 / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001974/0.1442, allocations: 141.3 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.1442, allocations: 5.719 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1442, allocations: 4 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1442, allocations: 0 / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.1443, allocations: 28.22 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1443, allocations: 0 / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.273e-05/0.1444, allocations: 19.92 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1445, allocations: 7.938 kB / 0.9853 GB, free: 21.73 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 6.077e-05/0.1445, allocations: 136.6 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.1445, allocations: 7.906 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.1448, allocations: 166.3 kB / 0.9856 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1448, allocations: 4 kB / 0.9856 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1448, allocations: 0 / 0.9856 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1448, allocations: 3.938 kB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.1453, allocations: 463.4 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1453, allocations: 0 / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.1454, allocations: 15.94 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1454, allocations: 0 / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1454, allocations: 7.984 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1454, allocations: 3.938 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1454, allocations: 4 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1456, allocations: 241.5 kB / 0.9863 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.1456, allocations: 85.02 kB / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.1457, allocations: 0 / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1458, allocations: 19.92 kB / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1458, allocations: 7.984 kB / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1459, allocations: 11.98 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.1459, allocations: 108.2 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.51e-07/0.1459, allocations: 0 / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002517/0.1462, allocations: 43.94 kB / 0.9866 GB, free: 20.34 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.0005195/0.1467, allocations: 0.8359 MB / 0.9874 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1469, allocations: 96.02 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1469, allocations: 0 / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/0.147, allocations: 64.72 kB / 0.9875 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.1473, allocations: 20.77 kB / 0.9876 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.1481, allocations: 0.7218 MB / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.5e-05/0.1482, allocations: 0.7004 MB / 0.9889 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.195e-05/0.1482, allocations: 8.422 kB / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.1483, allocations: 31.42 kB / 0.989 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1483, allocations: 7.938 kB / 0.989 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7082/0.8565, allocations: 2.924 MB / 0.9918 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.8567, allocations: 247.3 kB / 0.9921 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.811, allocations: 0 / 0.9921 GB, free: 14.7 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)