Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008682/0.0008683, allocations: 179.6 kB / 325.8 MB, free: 2.684 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.345/1.345, allocations: 205 MB / 0.576 GB, free: 20.96 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.0006562/0.0006562, allocations: 90.59 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 13.06 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001325/0.1457, allocations: 1.258 MB / 0.8974 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.1467, allocations: 0.8117 MB / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.1467, allocations: 0 / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.1467, allocations: 3.938 kB / 0.8982 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.906e-05/0.1468, allocations: 19.84 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.1472, allocations: 103.8 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.1473, allocations: 91.7 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.1474, allocations: 19.98 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.042e-05/0.1475, allocations: 47.77 kB / 0.8985 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.1475, allocations: 39.81 kB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1475, allocations: 4 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1477, allocations: 91.91 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.1477, allocations: 15.92 kB / 0.8986 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.1477, allocations: 35.8 kB / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1479, allocations: 147.6 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1479, allocations: 4 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1479, allocations: 4 kB / 0.8988 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.1479, allocations: 0 / 0.8988 GB, free: 65.35 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004684/0.1484, allocations: 484.3 kB / 0.8993 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.1484, allocations: 11.97 kB / 0.8993 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.1485, allocations: 38.75 kB / 0.8993 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.1485, allocations: 12.84 kB / 0.8993 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.874e-05/0.1486, allocations: 180.2 kB / 0.8995 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1486, allocations: 4.375 kB / 0.8995 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1486, allocations: 8.375 kB / 0.8995 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1488, allocations: 85.7 kB / 0.8996 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1488, allocations: 0 / 0.8996 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.1488, allocations: 0 / 0.8996 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1488, allocations: 4 kB / 0.8996 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1489, allocations: 59.95 kB / 0.8997 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.1493, allocations: 336.5 kB / 0.9 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1495, allocations: 94.67 kB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/0.1496, allocations: 40.84 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1496, allocations: 3.984 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.1498, allocations: 103.4 kB / 0.9002 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.1498, allocations: 4 kB / 0.9002 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003258/0.1501, allocations: 181.8 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.1501, allocations: 55.41 kB / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/0.1502, allocations: 133.3 kB / 0.9006 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.1502, allocations: 25.7 kB / 0.9006 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.1502, allocations: 100 kB / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.1503, allocations: 23.72 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.1503, allocations: 21.7 kB / 0.9007 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.491e-05/0.1503, allocations: 322.8 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.1504, allocations: 39.91 kB / 0.9011 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.1505, allocations: 69.08 kB / 0.9011 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1506, allocations: 113.1 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1506, allocations: 0 / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001927/0.1508, allocations: 149.4 kB / 0.9014 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.1508, allocations: 4 kB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1509, allocations: 0 / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1509, allocations: 4 kB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.151, allocations: 19.92 kB / 0.9014 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.151, allocations: 4 kB / 0.9014 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.059e-05/0.1511, allocations: 23.98 kB / 0.9015 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1511, allocations: 7.938 kB / 0.9015 GB, free: 62.36 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/0.1512, allocations: 128.2 kB / 0.9016 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.1512, allocations: 7.906 kB / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.1514, allocations: 169.4 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1515, allocations: 4 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1515, allocations: 4 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1515, allocations: 0 / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.1519, allocations: 466.1 kB / 0.9022 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1519, allocations: 0 / 0.9022 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.152, allocations: 15.98 kB / 0.9022 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.152, allocations: 4 kB / 0.9022 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.152, allocations: 4 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.152, allocations: 3.938 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.152, allocations: 7.984 kB / 0.9022 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.1522, allocations: 239.3 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.1522, allocations: 85.02 kB / 0.9025 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1523, allocations: 4 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1524, allocations: 15.92 kB / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.1524, allocations: 15.98 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1524, allocations: 4 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.1525, allocations: 100.8 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1525, allocations: 0 / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002413/0.1527, allocations: 43.98 kB / 0.9027 GB, free: 60.96 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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004948/0.1532, allocations: 0.85 MB / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1534, allocations: 101 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1534, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.1535, allocations: 55.91 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.1538, allocations: 19.92 kB / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1549, allocations: 1.668 MB / 0.9054 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.155, allocations: 0.6965 MB / 0.906 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.289e-05/0.1551, allocations: 8.438 kB / 0.906 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.1551, allocations: 31.42 kB / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.1551, allocations: 0 / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.225/1.38, allocations: 2.951 MB / 0.909 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001303/1.38, allocations: 266.3 kB / 0.9092 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/3.905, allocations: 0 / 0.9092 GB, free: 54.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)