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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008979/0.0008979, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.609/1.609, allocations: 252 MB / 0.5102 GB, free: 4.75 MB / 414.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.0005832/0.0005834, allocations: 12 kB / 0.6243 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6146/0.6152, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002419/0.6176, allocations: 1.223 MB / 0.7293 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001854/0.6195, allocations: 0.7567 MB / 0.7301 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.6197, allocations: 0 / 0.7301 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.6197, allocations: 4 kB / 0.7301 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.6199, allocations: 15.84 kB / 0.7301 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008136/0.6207, allocations: 99.77 kB / 0.7302 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.621, allocations: 83.7 kB / 0.7303 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.6211, allocations: 23.92 kB / 0.7303 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.6212, allocations: 35.84 kB / 0.7303 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.6213, allocations: 39.83 kB / 0.7303 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.6214, allocations: 4 kB / 0.7304 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.6216, allocations: 91.84 kB / 0.7304 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.6216, allocations: 11.98 kB / 0.7304 GB, free: 8.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.6217, allocations: 41.62 kB / 0.7305 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.6219, allocations: 113.7 kB / 0.7306 GB, free: 8.824 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/0.6219, allocations: 4 kB / 0.7306 GB, free: 8.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6219, allocations: 0 / 0.7306 GB, free: 8.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.6219, allocations: 4 kB / 0.7306 GB, free: 8.816 MB / 0.545 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.0006898/0.6226, allocations: 476.1 kB / 0.7311 GB, free: 8.285 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.6226, allocations: 12.03 kB / 0.7311 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.6227, allocations: 7.906 kB / 0.7311 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.6228, allocations: 185.8 kB / 0.7313 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.6229, allocations: 8 kB / 0.7313 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.6229, allocations: 4 kB / 0.7313 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.6231, allocations: 85.58 kB / 0.7313 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.6231, allocations: 0 / 0.7313 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.6231, allocations: 0 / 0.7313 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.6232, allocations: 0 / 0.7313 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.6233, allocations: 55.97 kB / 0.7314 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.624, allocations: 344.5 kB / 0.7317 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.6242, allocations: 78.67 kB / 0.7318 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.6244, allocations: 48.84 kB / 0.7319 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.6244, allocations: 0 / 0.7319 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.6248, allocations: 107.3 kB / 0.732 GB, free: 7.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.6248, allocations: 0 / 0.732 GB, free: 7.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005273/0.6253, allocations: 185.5 kB / 0.7321 GB, free: 7.062 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.6254, allocations: 55.41 kB / 0.7322 GB, free: 6.996 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.6255, allocations: 134 kB / 0.7323 GB, free: 6.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.6256, allocations: 29.7 kB / 0.7323 GB, free: 6.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.6256, allocations: 96.12 kB / 0.7324 GB, free: 6.723 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.6257, allocations: 27.64 kB / 0.7325 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.6257, allocations: 0 / 0.7325 GB, free: 6.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6258, allocations: 326.8 kB / 0.7328 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.6259, allocations: 35.92 kB / 0.7328 GB, free: 6.332 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.788e-05/0.626, allocations: 69.08 kB / 0.7329 GB, free: 6.246 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.6261, allocations: 43.92 kB / 0.7329 GB, free: 6.203 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6261, allocations: 4 kB / 0.7329 GB, free: 6.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002628/0.6264, allocations: 137.4 kB / 0.733 GB, free: 6.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6264, allocations: 5.719 kB / 0.7331 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.6264, allocations: 4 kB / 0.7331 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.6265, allocations: 0 / 0.7331 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.6266, allocations: 27.97 kB / 0.7331 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.6266, allocations: 7.984 kB / 0.7331 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.6267, allocations: 19.89 kB / 0.7331 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.6267, allocations: 4 kB / 0.7331 GB, free: 5.992 MB / 0.545 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 9.846e-05/0.6268, allocations: 125.8 kB / 0.7332 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.6269, allocations: 11.89 kB / 0.7332 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.6272, allocations: 168.8 kB / 0.7334 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6272, allocations: 4 kB / 0.7334 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.6272, allocations: 3.953 kB / 0.7334 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.6273, allocations: 0 / 0.7334 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.6279, allocations: 462.3 kB / 0.7339 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6279, allocations: 0 / 0.7339 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.628, allocations: 8 kB / 0.7339 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.628, allocations: 4 kB / 0.7339 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.628, allocations: 15.94 kB / 0.7339 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.628, allocations: 0 / 0.7339 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.628, allocations: 0 / 0.7339 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.6283, allocations: 243.3 kB / 0.7341 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.6284, allocations: 89.02 kB / 0.7342 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.6285, allocations: 0 / 0.7342 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.6286, allocations: 15.94 kB / 0.7342 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.6286, allocations: 11.98 kB / 0.7342 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.6286, allocations: 4 kB / 0.7342 GB, free: 4.746 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.012e-05/0.6287, allocations: 114.4 kB / 0.7343 GB, free: 4.637 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6287, allocations: 0 / 0.7343 GB, free: 4.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003557/0.6291, allocations: 44 kB / 0.7344 GB, free: 4.594 MB / 0.545 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.0003982/0.6295, allocations: 166.6 kB / 0.7345 GB, free: 4.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.6298, allocations: 99.89 kB / 0.7346 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6298, allocations: 0 / 0.7346 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.6299, allocations: 55.91 kB / 0.7347 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.6302, allocations: 16.92 kB / 0.7347 GB, free: 4.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.6308, allocations: 251.5 kB / 0.7349 GB, free: 3.992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.6311, allocations: 0.7004 MB / 0.7356 GB, free: 3.266 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.713e-05/0.6311, allocations: 8.438 kB / 0.7356 GB, free: 3.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.6312, allocations: 15.44 kB / 0.7356 GB, free: 3.242 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6312, allocations: 0 / 0.7356 GB, free: 3.242 MB / 0.545 GB Notification: Performance of Templates: time 0.004493/0.6357, allocations: 1.775 MB / 0.7374 GB, free: 1.477 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) Environment - environmentSimulation: